projects
/
infodrom
/
cgilib
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a54105
)
Corrected pointer arithmetic
author
Joey Schulze
<joey@infodrom.org>
Sun, 2 Dec 2007 22:13:58 +0000
(22:13 +0000)
committer
Joey Schulze
<joey@infodrom.org>
Sun, 2 Dec 2007 22:13:58 +0000
(22:13 +0000)
cgi.c
patch
|
blob
|
history
diff --git
a/cgi.c
b/cgi.c
index
19f7b06
..
e131b25
100644
(file)
--- a/
cgi.c
+++ b/
cgi.c
@@
-204,7
+204,7
@@
s_cgi *cgiReadMultipart (char *boundary)
return NULL;
}
result = tmp;
- memset (result + numresults
*sizeof(s_var *)
, 0, len - numresults*sizeof(s_var *));
+ memset (result + numresults, 0, len - numresults*sizeof(s_var *));
numresults += MULTIPART_DELTA;
}
}