git-svn: trunk@992
Nigel Horne authored on 2004/10/12 19:40:48... | ... |
@@ -17,6 +17,9 @@ |
17 | 17 |
* |
18 | 18 |
* Change History: |
19 | 19 |
* $Log: message.c,v $ |
20 |
+ * Revision 1.99 2004/10/12 10:40:48 nigelhorne |
|
21 |
+ * Remove shadow declaration of isblank |
|
22 |
+ * |
|
20 | 23 |
* Revision 1.98 2004/10/11 10:56:17 nigelhorne |
21 | 24 |
* Reimplement squeeze ads sanisiseBase64 |
22 | 25 |
* |
... | ... |
@@ -291,7 +294,7 @@ |
291 | 291 |
* uuencodebegin() no longer static |
292 | 292 |
* |
293 | 293 |
*/ |
294 |
-static char const rcsid[] = "$Id: message.c,v 1.98 2004/10/11 10:56:17 nigelhorne Exp $"; |
|
294 |
+static char const rcsid[] = "$Id: message.c,v 1.99 2004/10/12 10:40:48 nigelhorne Exp $"; |
|
295 | 295 |
|
296 | 296 |
#if HAVE_CONFIG_H |
297 | 297 |
#include "clamav-config.h" |
... | ... |
@@ -1015,15 +1018,15 @@ messageAddStr(message *m, const char *data) |
1015 | 1015 |
assert(m != NULL); |
1016 | 1016 |
|
1017 | 1017 |
if(data) { |
1018 |
- int isblank = 1; |
|
1018 |
+ int iswhite = 1; |
|
1019 | 1019 |
const char *p; |
1020 | 1020 |
|
1021 | 1021 |
for(p = data; *p != '\0'; p++) |
1022 | 1022 |
if(!isspace(*p)) { |
1023 |
- isblank = 0; |
|
1023 |
+ iswhite = 0; |
|
1024 | 1024 |
break; |
1025 | 1025 |
} |
1026 |
- if(isblank) { |
|
1026 |
+ if(iswhite) { |
|
1027 | 1027 |
/*cli_dbgmsg("messageAddStr: empty line: '%s'\n", data);*/ |
1028 | 1028 |
data = NULL; |
1029 | 1029 |
} |