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
xboi209
5d279da11f
Removed useless check for 'clan'
2015-10-01 03:46:30 -07:00
xboi209
289272945a
'filenamestk' is always not equal to a null pointer, remove check
2015-10-01 03:43:01 -07:00
xboi209
11e2b9fd94
- Minor code improvements to the Topics system
...
- Empty lines in the topic file no longer displays an error in the eventlog
- Added checks for duplicate lines in the topic file
- Optimized code to only write data from memory to the topic file if it doesn't already exist
2015-09-27 22:40:54 -07:00
xboi209
de13ce5351
Unreferenced local variable 'i' in sha1hash.cpp
2015-09-22 17:29:53 -07:00
xboi209
4b61afde1b
Unreferenced local variable 'i' in bnchat.cpp
2015-09-22 17:29:34 -07:00
xboi209
1ee46e84ea
Fixed truncation warnings in i18n.cpp
2015-09-22 17:28:50 -07:00
xboi209
9d126f9cc8
Return bool type in conn_wol_get_findme() and conn_wol_get_pageme()
2015-09-22 17:21:45 -07:00
xboi209
40d3b09edb
Changed comparison between int and bool to int and int in clan_remove_member()
2015-09-22 17:16:38 -07:00
xboi209
96e1b8ef01
Do not initialize and declare extern variable 'countries' at the same time
2015-09-22 17:12:07 -07:00
xboi209
b5aca7a9cd
Fixed mistake from previous commit
2015-09-22 17:09:33 -07:00
xboi209
caf4b212ff
Fixed improper eventlog() calls
2015-09-22 16:49:35 -07:00
xboi209
3d51d15182
Fixed improper eventlog() calls
2015-09-22 16:34:55 -07:00
xboi209
1c22743786
Fixed compile error when compiling with SQL
2015-09-22 16:31:19 -07:00
xboi209
fa9cf3a329
Don't use NULL when a non-pointer is expected
2015-09-22 11:44:47 -07:00
xboi209
534206717a
Don't use NULL when returning in tag_validate_client()
2015-09-22 11:35:29 -07:00
xboi209
1ae129e8f9
Fixed improper eventlog() calls
2015-09-22 11:30:55 -07:00
xboi209
4e0f62daef
Fix non-conforming ISO C++ code
2015-09-22 11:23:05 -07:00
xboi209
5542dbd7d7
Fixed conflicting declaration of sql_tables
2015-09-22 11:19:27 -07:00