summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/aqpkg/server.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/settings/aqpkg/server.cpp b/noncore/settings/aqpkg/server.cpp
index d4fa439..64a9c26 100644
--- a/noncore/settings/aqpkg/server.cpp
+++ b/noncore/settings/aqpkg/server.cpp
@@ -149,11 +149,11 @@ void Server :: readPackageFile( Server *local, bool clearAll, bool installingToR
ifstream in( packageFile );
if ( !in.is_open() )
return;
- char line[1001];
+ char line[5001];
char k[21];
- char v[1001];
+ char v[5001];
QString key;
QString value;
if ( clearAll )
@@ -162,9 +162,9 @@ void Server :: readPackageFile( Server *local, bool clearAll, bool installingToR
bool newPackage = true;
do
{
- in.getline( line, 1000 );
+ in.getline( line, 5000 );
if ( in.eof() )
continue;
k[0] = '\0';