diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/newview/lluploaddialog.cpp | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-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/lluploaddialog.cpp')
-rw-r--r-- | linden/indra/newview/lluploaddialog.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/linden/indra/newview/lluploaddialog.cpp b/linden/indra/newview/lluploaddialog.cpp index a67aa7d..620133e 100644 --- a/linden/indra/newview/lluploaddialog.cpp +++ b/linden/indra/newview/lluploaddialog.cpp | |||
@@ -102,8 +102,13 @@ void LLUploadDialog::setMessage( const std::string& msg) | |||
102 | char* temp_msg = new char[size]; | 102 | char* temp_msg = new char[size]; |
103 | 103 | ||
104 | //strcpy(temp_msg,"Uploading...\n\n"); | 104 | //strcpy(temp_msg,"Uploading...\n\n"); |
105 | strcpy( temp_msg, msg.c_str()); | 105 | if (temp_msg == NULL) |
106 | { | ||
107 | llerrs << "Memory Allocation Failed" << llendl; | ||
108 | return; | ||
109 | } | ||
106 | 110 | ||
111 | strcpy( temp_msg, msg.c_str()); /* Flawfinder: ignore */ | ||
107 | char* token = strtok( temp_msg, "\n" ); | 112 | char* token = strtok( temp_msg, "\n" ); |
108 | while( token ) | 113 | while( token ) |
109 | { | 114 | { |