changeset 6075:f7ddc1f6227e

[gaim-migrate @ 6534] This should prevent warnings on some compilers. This change will either make all warnings go away and have MSN continue to run as normal, or cause MSN to crash on almost every message. I'm not sure yet. I'll wait for the bug reports. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 10 Jul 2003 06:55:23 +0000
parents abde20a18051
children 8d6aa792e0f6
files src/protocols/msn/msg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/msn/msg.c	Thu Jul 10 06:48:14 2003 +0000
+++ b/src/protocols/msn/msg.c	Thu Jul 10 06:55:23 2003 +0000
@@ -26,7 +26,7 @@
 	while (*(tmp) && *(tmp) != ' ' && *(tmp) != '\r') \
 		(tmp)++; \
 	if (*(tmp) != '\0') *(tmp)++ = '\0'; \
-	if (*(tmp) == '\n') *(tmp)++; \
+	if (*(tmp) == '\n') (tmp)++; \
 	while (*(tmp) && *(tmp) == ' ') \
 		(tmp)++
 
@@ -34,7 +34,7 @@
 	while (*(tmp) && *(tmp) != '\r') \
 		(tmp)++; \
 	if (*(tmp) != '\0') *(tmp)++ = '\0'; \
-	if (*(tmp) == '\n') *(tmp)++
+	if (*(tmp) == '\n') (tmp)++
 
 /*
  * "MIME-Version: 1.0\r\n" == 19