aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llmutelist.cpp
diff options
context:
space:
mode:
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()