Mercurial > pidgin.yaz
changeset 25606:b175b16768ac
* sending some User-Agent
author | Tobias Markmann <tfar@soc.pidgin.im> |
---|---|
date | Tue, 12 Aug 2008 12:48:25 +0000 |
parents | f747c682a0d9 |
children | f775f6021654 |
files | libpurple/protocols/jabber/bosh.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/protocols/jabber/bosh.c Tue Aug 12 12:40:48 2008 +0000 +++ b/libpurple/protocols/jabber/bosh.c Tue Aug 12 12:48:25 2008 +0000 @@ -235,7 +235,7 @@ char *packet; char *tmp; jabber_bosh_http_request_add_to_header(req, "Host", conn->host); - + jabber_bosh_http_request_add_to_header(req, "User-Agent", "libpurple"); packet = tmp = g_strdup_printf("%s %s HTTP/1.1\r\n", req->method, req->path); g_hash_table_foreach(req->header, jabber_bosh_http_connection_send_request_add_field_to_string, &packet); tmp = packet;