projects
/
citadel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07faae7
)
fix crash: we want to do is_digit() on *char* not on char*
author
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 27 Nov 2010 11:51:16 +0000
(12:51 +0100)
committer
Wilfried Goesgens
<dothebart@citadel.org>
Sat, 27 Nov 2010 12:58:53 +0000
(13:58 +0100)
some bug the mimetest found before push.
libcitadel/lib/mime_parser.c
patch
|
blob
|
history
diff --git
a/libcitadel/lib/mime_parser.c
b/libcitadel/lib/mime_parser.c
index b7249f79ec215b941643dc1f0abde569ce282dc8..d71df777575378f14576835d81a43a29364f5e96 100644
(file)
--- a/
libcitadel/lib/mime_parser.c
+++ b/
libcitadel/lib/mime_parser.c
@@
-417,7
+417,7
@@
long parse_MimeHeaders(interesting_mime_headers *m, char* content_start, char *c
else if (!strncasecmp(header, "Content-length: ", 15)) {
char *clbuf;
clbuf = &header[15];
- while (isspace(clbuf))
+ while (isspace(
*
clbuf))
clbuf ++;
m->content_length = (size_t) atol(clbuf);
}