[gaim-migrate @ 15638]

Mon, 13 Feb 2006 07:34:59 +0000

author
Thomas Butter <tbutter@users.sourceforge.net>
date
Mon, 13 Feb 2006 07:34:59 +0000
changeset 13273
68a4ff81c348
parent 13272
fd4f3356640f
child 13274
613c232c3500

[gaim-migrate @ 15638]
fix for double Proxy-Authorization Header by Anibal Avelar

COPYRIGHT file | annotate | diff | comparison | revisions
src/protocols/simple/simple.c file | annotate | diff | comparison | revisions
--- a/COPYRIGHT	Mon Feb 13 05:32:42 2006 +0000
+++ b/COPYRIGHT	Mon Feb 13 07:34:59 2006 +0000
@@ -10,6 +10,7 @@
 Daniel Atallah
 Paul Aurich
 Patrick Aussems
+Anibal Avelar
 Alex Badea
 John Bailey
 Luca Barbato
--- a/src/protocols/simple/simple.c	Mon Feb 13 05:32:42 2006 +0000
+++ b/src/protocols/simple/simple.c	Mon Feb 13 07:34:59 2006 +0000
@@ -1182,7 +1182,7 @@
 
 				fill_auth(sip, ptmp, &sip->proxy);
 				auth = auth_header(sip, &sip->proxy, trans->msg->method, trans->msg->target);
-				sipmsg_remove_header(msg, "Proxy-Authorization");
+				sipmsg_remove_header(trans->msg, "Proxy-Authorization");
 				sipmsg_add_header(trans->msg, "Proxy-Authorization", auth);
 				g_free(auth);
 				resend = sipmsg_to_string(trans->msg);

mercurial