diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/llinventory/llsaleinfo.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linden/indra/llinventory/llsaleinfo.cpp b/linden/indra/llinventory/llsaleinfo.cpp index 9364529..debb092 100644 --- a/linden/indra/llinventory/llsaleinfo.cpp +++ b/linden/indra/llinventory/llsaleinfo.cpp | |||
@@ -175,7 +175,7 @@ BOOL LLSaleInfo::importFile(FILE* fp, BOOL& has_perm_mask, U32& perm_mask) | |||
175 | buffer, | 175 | buffer, |
176 | " %254s %254s", | 176 | " %254s %254s", |
177 | keyword, valuestr); | 177 | keyword, valuestr); |
178 | if(!keyword) | 178 | if(!keyword[0]) |
179 | { | 179 | { |
180 | continue; | 180 | continue; |
181 | } | 181 | } |
@@ -231,7 +231,7 @@ BOOL LLSaleInfo::importLegacyStream(std::istream& input_stream, BOOL& has_perm_m | |||
231 | buffer, | 231 | buffer, |
232 | " %254s %254s", | 232 | " %254s %254s", |
233 | keyword, valuestr); | 233 | keyword, valuestr); |
234 | if(!keyword) | 234 | if(!keyword[0]) |
235 | { | 235 | { |
236 | continue; | 236 | continue; |
237 | } | 237 | } |