From 15a6d273cc00e1f4f9f9d56d8c878b46b283b289 Mon Sep 17 00:00:00 2001 From: Andrew Meadows Date: Sat, 17 Jan 2009 01:29:45 +0000 Subject: svn merge -r108142:108148 svn+ssh://svn.lindenlab.com/svn/linden/qa/maint-server/maint-server-5-r108113 --- indra/llcommon/llapp.h | 2 ++ indra/llcommon/lluuid.cpp | 7 ++++--- 2 files changed, 6 insertions(+), 3 deletions(-) (limited to 'indra/llcommon') diff --git a/indra/llcommon/llapp.h b/indra/llcommon/llapp.h index d3bd438872..f8a593c33d 100644 --- a/indra/llcommon/llapp.h +++ b/indra/llcommon/llapp.h @@ -189,6 +189,8 @@ public: #if !LL_WINDOWS static U32 getSigChildCount(); static void incSigChildCount(); +#else +#define getpid GetCurrentProcessId #endif static int getPid(); diff --git a/indra/llcommon/lluuid.cpp b/indra/llcommon/lluuid.cpp index 3fd0d042b9..bcbae06ec5 100644 --- a/indra/llcommon/lluuid.cpp +++ b/indra/llcommon/lluuid.cpp @@ -209,7 +209,7 @@ std::string LLUUID::asString() const BOOL LLUUID::set(const char* in_string, BOOL emit) { - return set(ll_safe_string(in_string)); + return set(ll_safe_string(in_string),emit); } BOOL LLUUID::set(const std::string& in_string, BOOL emit) @@ -231,7 +231,7 @@ BOOL LLUUID::set(const std::string& in_string, BOOL emit) { if(emit) { - llinfos << "Warning! Using broken UUID string format" << llendl; + llwarns << "Warning! Using broken UUID string format" << llendl; } broken_format = TRUE; } @@ -240,7 +240,8 @@ BOOL LLUUID::set(const std::string& in_string, BOOL emit) // Bad UUID string. Spam as INFO, as most cases we don't care. if(emit) { - llinfos << "Bad UUID string: " << in_string << llendl; + //don't spam the logs because a resident can't spell. + llwarns << "Bad UUID string: " << in_string << llendl; } setNull(); return FALSE; -- cgit v1.2.3