mail[Wesnoth-commits] r33276 - /trunk/src/campaign_server/campaign_server.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by soliton . de on March 01, 2009 - 23:52:
Author: soliton
Date: Sun Mar  1 23:52:54 2009
New Revision: 33276

URL: http://svn.gna.org/viewcvs/wesnoth?rev=33276&view=rev
Log:
mention invalid characters in the error message

Modified:
    trunk/src/campaign_server/campaign_server.cpp

Modified: trunk/src/campaign_server/campaign_server.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/campaign_server/campaign_server.cpp?rev=33276&r1=33275&r2=33276&view=diff
==============================================================================
--- trunk/src/campaign_server/campaign_server.cpp (original)
+++ trunk/src/campaign_server/campaign_server.cpp Sun Mar  1 23:52:54 2009
@@ -511,7 +511,8 @@
                                                        
network::send_data(construct_error("Add-on rejected: You did not specify a 
description of the add-on in the pbl file!"), sock, gzipped);
                                                } else 
if(check_names_legal(*data) == false) {
                                                        LOG_CS << "Upload 
aborted - invalid file names in add-on data.\n";
-                                                       
network::send_data(construct_error("Add-on rejected: The add-on contains an 
illegal file or directory name."), sock, gzipped);
+                                                       
network::send_data(construct_error("Add-on rejected: The add-on contains an 
illegal file or directory name."
+                                                                       " 
File or directory names may not contain any of the following characters: '/ 
\\ : ~'"), sock, gzipped);
                                                } else if(campaign != NULL && 
(*campaign)["passphrase"] != (*upload)["passphrase"]) {
                                                        // the user password 
failed, now test for the master password, in master password
                                                        // mode the upload 
behaves different since it's only intended to update translations.




Related Messages


Powered by MHonArc, Updated Mon Mar 02 00:00:06 2009