src/protocols/msn/msnobject.c

changeset 9087
acb2c9d4c46d
parent 8475
3b5687726055
child 9198
e8eb6d5eb9eb
equal deleted inserted replaced
9086:991a0ee0fb86 9087:acb2c9d4c46d
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 *

mercurial