# HG changeset patch # User Thomas Butter # Date 1139816099 0 # Node ID 0bfc9b72b9cef8b7e9b6d7aa7b9d8e84421792e2 # Parent aaeb6ea63c5657de733c3b4b561bca396fd0f8ce [gaim-migrate @ 15638] fix for double Proxy-Authorization Header by Anibal Avelar committer: Tailor Script diff -r aaeb6ea63c56 -r 0bfc9b72b9ce 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 aaeb6ea63c56 -r 0bfc9b72b9ce 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);