summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2002-05-29 17:31:01 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2002-05-29 17:31:01 +0000
commit5fcb8553da8b2e10209dfe020d47ef81da7ed92e (patch)
tree3c5f6f5ecbb22772b50c4e43a525d18c4b0c81f9
parente7fcb5fc7d6f7b1323f9fa988ef3d6a68b8ad362 (diff)
downloadtinyproxy-5fcb8553da8b2e10209dfe020d47ef81da7ed92e.tar.gz
tinyproxy-5fcb8553da8b2e10209dfe020d47ef81da7ed92e.zip
(init_stats): Fixed a spelling mistake where the number of bytes being allocated was incorrect.
Diffstat (limited to '')
-rw-r--r--src/stats.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stats.c b/src/stats.c
index 7aa48e2..2c5c774 100644
--- a/src/stats.c
+++ b/src/stats.c
@@ -1,4 +1,4 @@
-/* $Id: stats.c,v 1.10 2002-05-26 18:53:14 rjkaes Exp $
+/* $Id: stats.c,v 1.11 2002-05-29 17:31:01 rjkaes Exp $
*
* This module handles the statistics for tinyproxy. There are only two
* public API functions. The reason for the functions, rather than just a
@@ -44,7 +44,7 @@ static struct stat_s *stats;
void
init_stats(void)
{
- stats = malloc_shared_memory(sizeof(struct stat));
+ stats = malloc_shared_memory(sizeof(struct stat_s));
if (!stats)
return;