aboutsummaryrefslogtreecommitdiffstats
path: root/unmime.c
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2010-12-12 18:25:51 +0100
committerMatthias Andree <matthias.andree@gmx.de>2010-12-12 18:25:51 +0100
commite9212a2a7f3e4e720129a9422ff177e1c9fddda1 (patch)
tree935045df442b3be4f1ea5e4e54fc2ca6493fad5c /unmime.c
parent32b4002531dd09271335f1995bd09934b8d675dd (diff)
downloadfetchmail-e9212a2a7f3e4e720129a9422ff177e1c9fddda1.tar.gz
fetchmail-e9212a2a7f3e4e720129a9422ff177e1c9fddda1.tar.bz2
fetchmail-e9212a2a7f3e4e720129a9422ff177e1c9fddda1.zip
Fix compiler warnings.
Diffstat (limited to 'unmime.c')
-rw-r--r--unmime.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unmime.c b/unmime.c
index 67028e77..f799ff92 100644
--- a/unmime.c
+++ b/unmime.c
@@ -292,7 +292,7 @@ static char *GetBoundary(char *CntType)
do {
p2 = strchr(p1, ';');
if (p2)
- for (p2++; isspace((unsigned char)*p2); p2++);
+ for (p2++; isspace((unsigned char)*p2); p2++) { }
p1 = p2;
} while ((p1) && (strncasecmp(p1, "boundary", 8) != 0));
@@ -418,7 +418,7 @@ int MimeBodyType(char *hdrs, int WantDecode)
*/
/* Skip the "Content-Type:" part and whitespace after it */
- for (NxtHdr += 13; ((*NxtHdr == ' ') || (*NxtHdr == '\t')); NxtHdr++);
+ for (NxtHdr += 13; ((*NxtHdr == ' ') || (*NxtHdr == '\t')); NxtHdr++) { }
/*
* Get the full value of the Content-Type header;