Mercurial > pidgin
comparison src/protocols/msn/msg.c @ 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 | b8abf266dd3b |
children | 29fef9695c4d |
comparison
equal
deleted
inserted
replaced
6074:abde20a18051 | 6075:f7ddc1f6227e |
---|---|
24 | 24 |
25 #define GET_NEXT(tmp) \ | 25 #define GET_NEXT(tmp) \ |
26 while (*(tmp) && *(tmp) != ' ' && *(tmp) != '\r') \ | 26 while (*(tmp) && *(tmp) != ' ' && *(tmp) != '\r') \ |
27 (tmp)++; \ | 27 (tmp)++; \ |
28 if (*(tmp) != '\0') *(tmp)++ = '\0'; \ | 28 if (*(tmp) != '\0') *(tmp)++ = '\0'; \ |
29 if (*(tmp) == '\n') *(tmp)++; \ | 29 if (*(tmp) == '\n') (tmp)++; \ |
30 while (*(tmp) && *(tmp) == ' ') \ | 30 while (*(tmp) && *(tmp) == ' ') \ |
31 (tmp)++ | 31 (tmp)++ |
32 | 32 |
33 #define GET_NEXT_LINE(tmp) \ | 33 #define GET_NEXT_LINE(tmp) \ |
34 while (*(tmp) && *(tmp) != '\r') \ | 34 while (*(tmp) && *(tmp) != '\r') \ |
35 (tmp)++; \ | 35 (tmp)++; \ |
36 if (*(tmp) != '\0') *(tmp)++ = '\0'; \ | 36 if (*(tmp) != '\0') *(tmp)++ = '\0'; \ |
37 if (*(tmp) == '\n') *(tmp)++ | 37 if (*(tmp) == '\n') (tmp)++ |
38 | 38 |
39 /* | 39 /* |
40 * "MIME-Version: 1.0\r\n" == 19 | 40 * "MIME-Version: 1.0\r\n" == 19 |
41 * "Content-Type: " == 14 | 41 * "Content-Type: " == 14 |
42 * "\r\n" == 2 | 42 * "\r\n" == 2 |