Mercurial > pidgin
comparison src/protocols/gg/gg.c @ 7386:414c701ef1ff
[gaim-migrate @ 7981]
Code cleanup to get rid of all warnings for AMD64 from augustus at linuxhardware dot org
committer: Tailor Script <tailor@pidgin.im>
author | Luke Schierer <lschiere@pidgin.im> |
---|---|
date | Thu, 30 Oct 2003 22:27:36 +0000 |
parents | bf630f7dfdcd |
children | 3c21f3084ff0 |
comparison
equal
deleted
inserted
replaced
7385:79d74929693c | 7386:414c701ef1ff |
---|---|
1 /* | 1 /* |
2 * gaim - Gadu-Gadu Protocol Plugin | 2 * gaim - Gadu-Gadu Protocol Plugin |
3 * $Id: gg.c 7685 2003-10-02 02:54:07Z chipx86 $ | 3 * $Id: gg.c 7981 2003-10-30 22:27:36Z lschiere $ |
4 * | 4 * |
5 * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> | 5 * Copyright (C) 2001 Arkadiusz Mi¶kiewicz <misiek@pld.ORG.PL> |
6 * | 6 * |
7 * This program is free software; you can redistribute it and/or modify | 7 * This program is free software; you can redistribute it and/or modify |
8 * it under the terms of the GNU General Public License as published by | 8 * it under the terms of the GNU General Public License as published by |
954 "Host: %s\r\n" | 954 "Host: %s\r\n" |
955 "Content-Type: application/x-www-form-urlencoded\r\n" | 955 "Content-Type: application/x-www-form-urlencoded\r\n" |
956 "User-Agent: " GG_HTTP_USERAGENT "\r\n" | 956 "User-Agent: " GG_HTTP_USERAGENT "\r\n" |
957 "Content-Length: %d\r\n" | 957 "Content-Length: %d\r\n" |
958 "Pragma: no-cache\r\n" "\r\n" "%s\r\n", | 958 "Pragma: no-cache\r\n" "\r\n" "%s\r\n", |
959 hdata->form, hdata->host, strlen(request), request); | 959 hdata->form, hdata->host, (int)strlen(request), request); |
960 | 960 |
961 g_free(request); | 961 g_free(request); |
962 | 962 |
963 if (write(source, buf, strlen(buf)) < strlen(buf)) { | 963 if (write(source, buf, strlen(buf)) < strlen(buf)) { |
964 g_free(buf); | 964 g_free(buf); |