Merge lp:~jibel/synaptic/bug.130289 into lp:synaptic

Proposed by Jean-Baptiste Lallement
Status: Merged
Merged at revision: not available
Proposed branch: lp:~jibel/synaptic/bug.130289
Merge into: lp:synaptic
Diff against target: 27 lines (+6/-4)
1 file modified
gtk/rgpreferenceswindow.cc (+6/-4)
To merge this branch: bzr merge lp:~jibel/synaptic/bug.130289
Reviewer Review Type Date Requested Status
synaptic-developers Pending
Review via email: mp+22547@code.launchpad.net

Description of the change

Resubmitting since I inadvertently removed the wrong branch.

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'gtk/rgpreferenceswindow.cc'
--- gtk/rgpreferenceswindow.cc 2009-01-07 09:51:51 +0000
+++ gtk/rgpreferenceswindow.cc 2010-03-31 16:14:25 +0000
@@ -26,6 +26,7 @@
2626
27#include <apt-pkg/error.h>27#include <apt-pkg/error.h>
28#include <apt-pkg/configuration.h>28#include <apt-pkg/configuration.h>
29#include <apt-pkg/strutl.h>
29#include <gtk/gtk.h>30#include <gtk/gtk.h>
30#include <cassert>31#include <cassert>
31#include <cstring>32#include <cstring>
@@ -160,10 +161,11 @@
160 g_free(s);161 g_free(s);
161 }162 }
162 // setup the proxy 163 // setup the proxy
163 if(!httpUser.empty() && !httpPass.empty()) {164 if(!httpUser.empty() && !httpPass.empty()) {
164 s = g_strdup_printf("http://%s:%s@%s:%i/", 165 s = g_strdup_printf("http://%s:%s@%s:%i/",
165 httpUser.c_str(), httpPass.c_str(),166 QuoteString(httpUser, "@%:/").c_str(),
166 http.c_str(), httpPort);167 QuoteString(httpPass, "@%:/").c_str(),
168 http.c_str(), httpPort);
167 _config->Set("Acquire::http::Proxy", s);169 _config->Set("Acquire::http::Proxy", s);
168 g_free(s);170 g_free(s);
169 }171 }

Subscribers

People subscribed via source and target branches

to status/vote changes: