summaryrefslogtreecommitdiff
authordrw <drw>2003-03-29 01:13:02 (UTC)
committer drw <drw>2003-03-29 01:13:02 (UTC)
commit22e941e4cbc9e8906287d1e352b66092c6a84c0d (patch) (unidiff)
tree2704ea40f9ee926c2734eb25c7165852c024c136
parentf42edeac768082ec8d7716a17c82507496dd7b47 (diff)
downloadopie-22e941e4cbc9e8906287d1e352b66092c6a84c0d.zip
opie-22e941e4cbc9e8906287d1e352b66092c6a84c0d.tar.gz
opie-22e941e4cbc9e8906287d1e352b66092c6a84c0d.tar.bz2
Fix for reading feed's Package file works this time. However, this is temporary until I re-do this part of the code this weekend (don't like the way it works).
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
@@ -150,9 +150,9 @@ void Server :: readPackageFile( Server *local, bool clearAll, bool installingToR
150 if ( !in.is_open() ) 150 if ( !in.is_open() )
151 return; 151 return;
152 152
153 char line[1001]; 153 char line[5001];
154 char k[21]; 154 char k[21];
155 char v[1001]; 155 char v[5001];
156 QString key; 156 QString key;
157 QString value; 157 QString value;
158 158
@@ -163,7 +163,7 @@ void Server :: readPackageFile( Server *local, bool clearAll, bool installingToR
163 bool newPackage = true; 163 bool newPackage = true;
164 do 164 do
165 { 165 {
166 in.getline( line, 1000 ); 166 in.getline( line, 5000 );
167 if ( in.eof() ) 167 if ( in.eof() )
168 continue; 168 continue;
169 169