comparison src/protocols/msn/msnobject.c @ 9087:f32ee2e97b37

[gaim-migrate @ 9864] Several small MSN bug fixes by Finlay Dobbie. These ones fix some problems in the MSNSLP and MSNObject code. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 27 May 2004 06:06:03 +0000
parents 06f57183e29f
children ab6636c5a136
comparison
equal deleted inserted replaced
9086:9fcbb18aa7be 9087:f32ee2e97b37
37 tag += strlen(id "=\""); \ 37 tag += strlen(id "=\""); \
38 c = strchr(tag, '"'); \ 38 c = strchr(tag, '"'); \
39 if (c != NULL) \ 39 if (c != NULL) \
40 { \ 40 { \
41 strncpy(buf, tag, c - tag); \ 41 strncpy(buf, tag, c - tag); \
42 buf[c - tag] = '\0'; \
42 obj->field = atoi(buf); \ 43 obj->field = atoi(buf); \
43 } \ 44 } \
44 } 45 }
45 46
46 MsnObject * 47 MsnObject *