author | drw <drw> | 2003-03-29 01:13:02 (UTC) |
---|---|---|
committer | drw <drw> | 2003-03-29 01:13:02 (UTC) |
commit | 22e941e4cbc9e8906287d1e352b66092c6a84c0d (patch) (unidiff) | |
tree | 2704ea40f9ee926c2734eb25c7165852c024c136 | |
parent | f42edeac768082ec8d7716a17c82507496dd7b47 (diff) | |
download | opie-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).
-rw-r--r-- | noncore/settings/aqpkg/server.cpp | 6 |
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 | |||
149 | ifstream in( packageFile ); | 149 | ifstream in( packageFile ); |
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 | ||
159 | if ( clearAll ) | 159 | if ( clearAll ) |
@@ -162,9 +162,9 @@ void Server :: readPackageFile( Server *local, bool clearAll, bool installingToR | |||
162 | 162 | ||
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 | ||
170 | k[0] = '\0'; | 170 | k[0] = '\0'; |