Mercurial > pidgin
comparison src/protocols/msn/msg.c @ 19788:8b4653986e8e
[gaim-migrate @ 16600]
change to add SOAP HTTP header retrieve
Now Can do the OIM Message XML process
submitted by Ma Yuan<mayuan2006@gmail.com>
committer: Ethan Blanton <elb@pidgin.im>
| author | Ma Yuan <mayuan2006@gmail.com> |
|---|---|
| date | Sun, 30 Jul 2006 13:44:34 +0000 |
| parents | bc30c6270d9f |
| children | da3f8f7ec3ce |
comparison
equal
deleted
inserted
replaced
| 19787:b99512bd6d85 | 19788:8b4653986e8e |
|---|---|
| 212 const char *content_type; | 212 const char *content_type; |
| 213 char *end; | 213 char *end; |
| 214 char **elems, **cur, **tokens; | 214 char **elems, **cur, **tokens; |
| 215 | 215 |
| 216 g_return_if_fail(payload != NULL); | 216 g_return_if_fail(payload != NULL); |
| 217 | 217 gaim_debug_info("MaYuan","payload:{%s}\n",payload); |
| 218 tmp_base = tmp = g_malloc0(payload_len + 1); | 218 tmp_base = tmp = g_malloc0(payload_len + 1); |
| 219 memcpy(tmp_base, payload, payload_len); | 219 memcpy(tmp_base, payload, payload_len); |
| 220 | 220 |
| 221 /* Parse the attributes. */ | 221 /* Parse the attributes. */ |
| 222 end = strstr(tmp, "\r\n\r\n"); | 222 end = strstr(tmp, "\r\n\r\n"); |
