soc.2008.xmpp: 353be693: * sending some User-Agent

tfar at soc.pidgin.im tfar at soc.pidgin.im
Fri Aug 15 10:11:09 EDT 2008


-----------------------------------------------------------------
Revision: 353be693745f8780bebaccfa1869ebdf77560f53
Ancestor: baed58484676332682ef9ce5344729ba5c827190
Author: tfar at soc.pidgin.im
Date: 2008-08-12T12:48:25
Branch: im.pidgin.soc.2008.xmpp
URL: http://d.pidgin.im/viewmtn/revision/info/353be693745f8780bebaccfa1869ebdf77560f53

Modified files:
        libpurple/protocols/jabber/bosh.c

ChangeLog: 

* sending some User-Agent

-------------- next part --------------
============================================================
--- libpurple/protocols/jabber/bosh.c	a7e269cc8c48d0ea4a22e9ac64b35f953fc6b228
+++ libpurple/protocols/jabber/bosh.c	57391ab3dc17ff2d33dfef5c798567e4127a9469
@@ -235,7 +235,7 @@ void jabber_bosh_http_connection_send_re
 	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;


More information about the Commits mailing list