Commit graph

328 commits

Author SHA1 Message Date
xboi209
179c547459 Possible crash at userlog_read() when an argument is a null pointer 2016-08-05 00:48:42 -07:00
xboi209
c68aff0a1a Update JSON for Modern C++ to v2.0.2 2016-08-04 19:52:02 -07:00
xboi209
2639fa9578 - Fixed exception when attempting to select an invalid ad id 2016-07-01 01:58:32 -07:00
xboi209
a42ec6f6ab Corrected format specifier for std::size_t 2016-05-24 04:14:11 -07:00
xboi209
d906975dfc Remove unused includes in adbanner.cpp and adbanner.h 2016-05-24 04:01:48 -07:00
xboi209
505633aba0 PvPGN now loads ads configuration in JSON format 2016-05-24 03:58:39 -07:00
xboi209
c036a43bd3 Update to JSON for Modern C++ 2.0.0 commit a3f432b3dde1d71c8940961947db5938ed11ee91 2016-05-23 21:02:22 -07:00
xboi209
cc393bb543 Add JSON for Modern C++ 1.1.0 2016-05-23 14:24:13 -07:00
xboi209
9385d027a2 Use std::string()'s 2015-11-03 17:41:00 -08:00
xboi209
1303e41913 Fix compile error on FreeBSD 10.2 with Clang 3.4.1 2015-10-31 01:21:01 -07:00
xboi209
72a3d92e5c Use std::string's 2015-10-31 01:13:24 -07:00
xboi209
c0f2c3968e - Removed HAVE_STRTOUL 2015-10-17 13:45:41 -07:00
xboi209
ddb665a543 - Removed HAVE_GETENV 2015-10-17 13:37:21 -07:00
xboi209
597f394d46 - Removed HAVE_VSNPRINTF 2015-10-17 13:30:18 -07:00
xboi209
d1ac041bf5 - Removed check for HAVE_MKTIME 2015-10-17 13:15:41 -07:00
xboi209
4908e192dd - Removed src/win32/configwin.h 2015-10-17 13:10:28 -07:00
xboi209
9e3ba4e31a Use trace instead of error in friendlist_close() 2015-10-12 15:35:36 -07:00
xboi209
a5c1a8ed1e Revert account_set_rawattr() which caused a crash when creating a new account in WC3 2015-10-12 15:33:05 -07:00
xboi209
664923370d Forgot to remove snprintf.cpp from compat/CMakeLists.txt 2015-10-09 20:23:21 -07:00
xboi209
7ba2bfab8b Rewrite account_wrap.cpp to use std::string()'s 2015-10-09 20:17:28 -07:00
xboi209
1aa1ecab6a Remove snprintf shim 2015-10-09 15:54:45 -07:00
xboi209
28752e8bd8 Optimized munge() by not calling strlen() in loop 2015-10-01 04:51:58 -07:00
xboi209
e45f503d2f Created a reference for topic->topicstr in class_topic::display() 2015-10-01 04:50:10 -07:00
xboi209
b907b28f51 Removed check for non-null pointer 2015-10-01 04:45:28 -07:00
xboi209
cfb327493d Corrected wrong format specifiers 2015-10-01 04:42:19 -07:00
xboi209
5a788bf6ce Optimized various functions in topic.cpp by declaring function parameters as constant 2015-10-01 04:36:06 -07:00
xboi209
6fdca215fc Removed unused variable 'when' 2015-10-01 04:32:35 -07:00
xboi209
a8bd7f2f0f Optimized tournament_init() by not calling strlen() in loop 2015-10-01 04:32:15 -07:00
xboi209
f2ddd3c6f5 Optimized customicons_load() by not calling strlen() in loop 2015-10-01 04:31:31 -07:00
xboi209
e477de2052 Removed check for non-null pointer 2015-10-01 04:28:44 -07:00
xboi209
a18107407f Removed check for non-null pointer 2015-10-01 04:28:26 -07:00
xboi209
4844c0c989 Optimized checks for empty strings 2015-10-01 04:24:28 -07:00
xboi209
c0db97afd6 Optimized versioncheck_compare_exeinfo() by not calling strlen() on every loop 2015-10-01 04:20:04 -07:00
xboi209
9948a600fc Optimized userlog_read() by not calling strlen() on every loop 2015-10-01 04:19:13 -07:00
xboi209
8be043e97e Optimized userlog_append() by not calling strlen() on every loop 2015-10-01 04:17:25 -07:00
xboi209
973141b193 Removed unused variable 'token' 2015-10-01 04:16:03 -07:00
xboi209
18c6de18da Removed unused variable 'istr' 2015-10-01 04:15:42 -07:00
xboi209
5f65085527 Optimized ipban_could_be_ip_str() by not calling strlen() on every loop 2015-10-01 04:15:18 -07:00
xboi209
b21db674c9 Optimized file_find_localized() by not calling strlen() on every loop 2015-10-01 04:13:39 -07:00
xboi209
6262ec0f01 Optimized replace_args() by not calling strlen() on every loop 2015-10-01 04:12:13 -07:00
xboi209
7c8f939bc1 Optimized account_check_name() by not calling strlen() on every loop 2015-10-01 04:10:21 -07:00
xboi209
39f58d3c9f Removed unused variable 'clients' 2015-10-01 04:08:05 -07:00
xboi209
a717515e7a Corrected wrong format specifiers 2015-10-01 04:03:57 -07:00
xboi209
2bda96bbc4 Corrected wrong format specifier 2015-10-01 04:01:57 -07:00
xboi209
8ea6bfe401 Corrected wrong format specifiers 2015-10-01 04:00:44 -07:00
xboi209
4cf7bb0cb2 Added explicit check for strcasecmp()'s return value 2015-10-01 03:59:49 -07:00
xboi209
0e7941a774 Corrected wrong format specifiers 2015-10-01 03:56:45 -07:00
xboi209
73ec155553 Corrected wrong format specifier 2015-10-01 03:55:06 -07:00
xboi209
b17bbe7a2f Corrected wrong format specifiers in anongame_wol.cpp 2015-10-01 03:51:49 -07:00
xboi209
c99246bcf4 Check the return value of LoadLibrary() 2015-10-01 03:49:40 -07:00