aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llcallingcard.cpp
diff options
context:
space:
mode:
authorJacek Antonelli2008-08-15 23:44:50 -0500
committerJacek Antonelli2008-08-15 23:44:50 -0500
commit89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch)
treebcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/llcallingcard.cpp
parentSecond Life viewer sources 1.13.3.2 (diff)
downloadmeta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2
meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/newview/llcallingcard.cpp')
-rw-r--r--linden/indra/newview/llcallingcard.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/linden/indra/newview/llcallingcard.cpp b/linden/indra/newview/llcallingcard.cpp
index 83a5fac..d1fdda6 100644
--- a/linden/indra/newview/llcallingcard.cpp
+++ b/linden/indra/newview/llcallingcard.cpp
@@ -262,8 +262,8 @@ S32 LLAvatarTracker::addBuddyList(const LLAvatarTracker::buddy_map_t& buds)
262 using namespace std; 262 using namespace std;
263 263
264 U32 new_buddy_count = 0; 264 U32 new_buddy_count = 0;
265 char first[DB_FIRST_NAME_BUF_SIZE]; 265 char first[DB_FIRST_NAME_BUF_SIZE]; /*Flawfinder: ignore*/
266 char last[DB_LAST_NAME_BUF_SIZE]; 266 char last[DB_LAST_NAME_BUF_SIZE]; /*Flawfinder: ignore*/
267 LLUUID agent_id; 267 LLUUID agent_id;
268 for(buddy_map_t::const_iterator itr = buds.begin(); itr != buds.end(); ++itr) 268 for(buddy_map_t::const_iterator itr = buds.begin(); itr != buds.end(); ++itr)
269 { 269 {
@@ -560,8 +560,8 @@ void LLAvatarTracker::processChange(LLMessageSystem* msg)
560 { 560 {
561 if((mBuddyInfo[agent_id]->getRightsGrantedFrom() ^ new_rights) & LLRelationship::GRANT_MODIFY_OBJECTS) 561 if((mBuddyInfo[agent_id]->getRightsGrantedFrom() ^ new_rights) & LLRelationship::GRANT_MODIFY_OBJECTS)
562 { 562 {
563 char first[DB_FIRST_NAME_BUF_SIZE]; 563 char first[DB_FIRST_NAME_BUF_SIZE]; /*Flawfinder: ignore*/
564 char last[DB_LAST_NAME_BUF_SIZE]; 564 char last[DB_LAST_NAME_BUF_SIZE]; /*Flawfinder: ignore*/
565 LLStringBase<char>::format_map_t args; 565 LLStringBase<char>::format_map_t args;
566 if(gCacheName->getName(agent_id, first, last)) 566 if(gCacheName->getName(agent_id, first, last))
567 { 567 {
@@ -617,8 +617,8 @@ void LLAvatarTracker::processNotify(LLMessageSystem* msg, bool online)
617 setBuddyOnline(agent_id,online); 617 setBuddyOnline(agent_id,online);
618 if(chat_notify) 618 if(chat_notify)
619 { 619 {
620 char first[DB_FIRST_NAME_BUF_SIZE]; 620 char first[DB_FIRST_NAME_BUF_SIZE]; /*Flawfinder: ignore*/
621 char last[DB_LAST_NAME_BUF_SIZE]; 621 char last[DB_LAST_NAME_BUF_SIZE]; /*Flawfinder: ignore*/
622 if(gCacheName->getName(agent_id, first, last)) 622 if(gCacheName->getName(agent_id, first, last))
623 { 623 {
624 notify = TRUE; 624 notify = TRUE;