Mailinglist Archive: zypp-commit (301 mails)

< Previous Next >
[zypp-commit] r7464 - /trunk/libzypp/zypp/media/MediaCurl.cc
  • From: jkupec@xxxxxxxxxxxxxxxx
  • Date: Mon, 08 Oct 2007 11:14:53 -0000
  • Message-id: <20071008111453.B06B4173F5@xxxxxxxxxxxxxxxx>
Author: jkupec
Date: Mon Oct  8 13:14:53 2007
New Revision: 7464

URL: http://svn.opensuse.org/viewcvs/zypp?rev=7464&view=rev
Log:
comment & indent

Modified:
    trunk/libzypp/zypp/media/MediaCurl.cc

Modified: trunk/libzypp/zypp/media/MediaCurl.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/media/MediaCurl.cc?rev=7464&r1=7463&r2=7464&view=diff
==============================================================================
--- trunk/libzypp/zypp/media/MediaCurl.cc (original)
+++ trunk/libzypp/zypp/media/MediaCurl.cc Mon Oct  8 13:14:53 2007
@@ -578,10 +578,12 @@
         if( h_info.isDir()  && h_info.owner() == getuid() &&
             c_info.isFile() && c_info.owner() == getuid())
         {
-                map<string,string> rc_data = base::sysconfig::read( curlrcFile );
+          //! \todo FIXME adjust to .curlrc syntax: = and -- are optional!#
 
-                map<string,string>::const_iterator it = rc_data.find("--proxy-user");
-                if (it != rc_data.end())
+          map<string,string> rc_data = base::sysconfig::read( curlrcFile );
+
+          map<string,string>::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;

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages