aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llmutelist.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:59 -0500
committerJacek Antonelli2008-08-15 23:44:59 -0500
commita408bac29378072fbf36864164149458c978cfcc (patch)
tree67feccf1a5d3816611ba48d6762f86f0f7f4b1f6 /linden/indra/newview/llmutelist.cpp
parentSecond Life viewer sources 1.17.0.12 (diff)
downloadmeta-impy-a408bac29378072fbf36864164149458c978cfcc.zip
meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.gz
meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.bz2
meta-impy-a408bac29378072fbf36864164149458c978cfcc.tar.xz
Second Life viewer sources 1.17.1.0
Diffstat (limited to 'linden/indra/newview/llmutelist.cpp')
-rw-r--r--linden/indra/newview/llmutelist.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/linden/indra/newview/llmutelist.cpp b/linden/indra/newview/llmutelist.cpp
index c2ca740..bca9080 100644
--- a/linden/indra/newview/llmutelist.cpp
+++ b/linden/indra/newview/llmutelist.cpp
@@ -376,8 +376,10 @@ BOOL LLMuteList::loadFromFile(const LLString& filename)
376 id_buffer[0] = '\0'; 376 id_buffer[0] = '\0';
377 name_buffer[0] = '\0'; 377 name_buffer[0] = '\0';
378 S32 type = 0; 378 S32 type = 0;
379 U32 flags = 0;
379 sscanf( /* Flawfinder: ignore */ 380 sscanf( /* Flawfinder: ignore */
380 buffer, " %d %254s %254[^|]", &type, id_buffer, name_buffer); 381 buffer, " %d %254s %254[^|]| %u\n", &type, id_buffer, name_buffer,
382 &flags);
381 LLUUID id = LLUUID(id_buffer); 383 LLUUID id = LLUUID(id_buffer);
382 LLMute mute(id, name_buffer, (LLMute::EType)type); 384 LLMute mute(id, name_buffer, (LLMute::EType)type);
383 if (mute.mID.isNull() 385 if (mute.mID.isNull()