aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llinventory/llsaleinfo.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:58 -0500
committerJacek Antonelli2008-08-15 23:44:58 -0500
commit089fc07d207c71ce1401e72f09c31ad8c45872e2 (patch)
tree0028955add042c6f45b47a7b774adeeac9c592cb /linden/indra/llinventory/llsaleinfo.cpp
parentSecond Life viewer sources 1.16.0.5 (diff)
downloadmeta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.zip
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.gz
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.bz2
meta-impy-089fc07d207c71ce1401e72f09c31ad8c45872e2.tar.xz
Second Life viewer sources 1.17.0.12
Diffstat (limited to '')
-rw-r--r--linden/indra/llinventory/llsaleinfo.cpp4
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 }