From e12d9b782528132fd4f7b7780116b520edc34b12 Mon Sep 17 00:00:00 2001 From: Jan Kupec Date: Mon, 8 Oct 2007 11:14:53 +0000 Subject: [PATCH] comment & indent --- zypp/media/MediaCurl.cc | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/zypp/media/MediaCurl.cc b/zypp/media/MediaCurl.cc index a1dc49d7c..c9a2b106c 100644 --- a/zypp/media/MediaCurl.cc +++ b/zypp/media/MediaCurl.cc @@ -578,10 +578,12 @@ void MediaCurl::attachTo (bool next) if( h_info.isDir() && h_info.owner() == getuid() && c_info.isFile() && c_info.owner() == getuid()) { - map rc_data = base::sysconfig::read( curlrcFile ); + //! \todo FIXME adjust to .curlrc syntax: = and -- are optional!# - map::const_iterator it = rc_data.find("--proxy-user"); - if (it != rc_data.end()) + map rc_data = base::sysconfig::read( curlrcFile ); + + map::const_iterator it = rc_data.find("--proxy-user"); + if (it != rc_data.end()) _proxyuserpwd = it->second; DBG << "got proxy userpwd (--proxy-user) from ~/culrc" << endl; -- 2.34.1