Mercurial > pidgin
comparison libpurple/protocols/oscar/clientlogin.c @ 27190:1a255e11c02b
Dear Compiler, Shut up!
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sat, 27 Jun 2009 10:37:26 +0000 |
parents | 7054f810b0f9 |
children | a2508ac2e536 |
comparison
equal
deleted
inserted
replaced
27189:f57904a95fbb | 27190:1a255e11c02b |
---|---|
516 "Connection: close\r\n" | 516 "Connection: close\r\n" |
517 "Accept: */*\r\n"); | 517 "Accept: */*\r\n"); |
518 | 518 |
519 /* Tack on the body */ | 519 /* Tack on the body */ |
520 g_string_append_printf(request, "Content-Type: application/x-www-form-urlencoded; charset=UTF-8\r\n"); | 520 g_string_append_printf(request, "Content-Type: application/x-www-form-urlencoded; charset=UTF-8\r\n"); |
521 g_string_append_printf(request, "Content-Length: %lu\r\n\r\n", body->len); | 521 g_string_append_printf(request, "Content-Length: %" G_GSIZE_FORMAT "\r\n\r\n", body->len); |
522 g_string_append_len(request, body->str, body->len); | 522 g_string_append_len(request, body->str, body->len); |
523 g_string_free(body, TRUE); | 523 g_string_free(body, TRUE); |
524 | 524 |
525 /* Send the POST request */ | 525 /* Send the POST request */ |
526 od->url_data = purple_util_fetch_url_request(URL_CLIENT_LOGIN, | 526 od->url_data = purple_util_fetch_url_request(URL_CLIENT_LOGIN, |