author | drw <drw> | 2003-03-28 01:36:47 (UTC) |
---|---|---|
committer | drw <drw> | 2003-03-28 01:36:47 (UTC) |
commit | 169a544a1cbd17a6ff3295eba6a9e403fdc299d8 (patch) (side-by-side diff) | |
tree | 3dced402e0316212fbffed6194f234ea3d65f0eb /noncore/settings | |
parent | 9e561f9fdd2bef09d21904aba0a74faa39165c04 (diff) | |
download | opie-169a544a1cbd17a6ff3295eba6a9e403fdc299d8.zip opie-169a544a1cbd17a6ff3295eba6a9e403fdc299d8.tar.gz opie-169a544a1cbd17a6ff3295eba6a9e403fdc299d8.tar.bz2 |
Oops...undoing last update.
-rw-r--r-- | noncore/settings/aqpkg/server.cpp | 5 |
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 @@ -166,11 +166,10 @@ void Server :: readPackageFile( Server *local, bool clearAll, bool installingToR in.getline( line, 1000 ); if ( in.eof() ) - break; + continue; k[0] = '\0'; v[0] = '\0'; - if ( sscanf( line, "%[^:]: %[^\n]", k, v ) < 2 ) - break; + sscanf( line, "%[^:]: %[^\n]", k, v ); key = k; |