summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/server.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/noncore/settings/aqpkg/server.cpp b/noncore/settings/aqpkg/server.cpp
index 06b0863..d4fa439 100644
--- a/noncore/settings/aqpkg/server.cpp
+++ b/noncore/settings/aqpkg/server.cpp
@@ -165,13 +165,12 @@ void Server :: readPackageFile( Server *local, bool clearAll, bool installingToR
165 { 165 {
166 in.getline( line, 1000 ); 166 in.getline( line, 1000 );
167 if ( in.eof() ) 167 if ( in.eof() )
168 break; 168 continue;
169 169
170 k[0] = '\0'; 170 k[0] = '\0';
171 v[0] = '\0'; 171 v[0] = '\0';
172 172
173 if ( sscanf( line, "%[^:]: %[^\n]", k, v ) < 2 ) 173 sscanf( line, "%[^:]: %[^\n]", k, v );
174 break;
175 174
176 key = k; 175 key = k;
177 value = v; 176 value = v;