# HG changeset patch # User Thomas Butter # Date 1139816099 0 # Node ID 68a4ff81c348fa7951d2ba6f082604729f45043b # Parent fd4f3356640f3f8cfa1c867649bce4de78bfc7c7 [gaim-migrate @ 15638] fix for double Proxy-Authorization Header by Anibal Avelar diff -r fd4f3356640f -r 68a4ff81c348 COPYRIGHT --- 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 diff -r fd4f3356640f -r 68a4ff81c348 src/protocols/simple/simple.c --- 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);