projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix crash: we want to do is_digit() on *char* not on char*
[citadel.git]
/
libcitadel
/
lib
/
mime_parser.c
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);
}