[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    icecream/client
From:       Stephan Kulow <coolo () kde ! org>
Date:       2006-06-07 13:08:00
Message-ID: 1149685680.217931.29437.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 549101 by coolo:

strange STL


 M  +2 -2      remote.cpp  


--- trunk/icecream/client/remote.cpp #549100:549101
@@ -526,10 +526,10 @@
             fake_filename += "/" + *it;
 */
         fake_filename += get_absfilename( job.inputFile() );
-	string prefered_host = getenv("ICECC_PREFERRED_HOST");
+        const char *preferred_host = getenv("ICECC_PREFERRED_HOST");
         GetCSMsg getcs (envs, fake_filename, job.language(), torepeat, 
 			job.targetPlatform(), job.argumentFlags(), 
-		        prefered_host );
+		        preferred_host ? preferred_host : string() );
         if (!local_daemon->send_msg (getcs)) {
             log_warning() << "asked for CS\n";
             throw( 0 );
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic