summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Cady <d@jerkface.net>2020-08-19 01:47:34 -0400
committerAndrew Cady <d@jerkface.net>2020-08-19 01:47:34 -0400
commitee6e9376ab416283340d62c1f901bd1c04e2319e (patch)
treec42ac5cdd43b0d5ed2efe7503e0f8035cd3db391
parente6285bfc07cc2453dc3c6e532c191bcac30ff1f6 (diff)
Remove spurious debug output
This produced a nonsensical warning in client mode. It is also redundant as there is this line: log_printf(L_INFO, "Server in ToxID whitelisting mode - only clients listed with -i can connect");
-rw-r--r--main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main.c b/main.c
index 6554aa4..079a9c3 100644
--- a/main.c
+++ b/main.c
@@ -1316,7 +1316,6 @@ int main(int argc, char *argv[])
1316 case 'i': 1316 case 'i':
1317 /* Tox ID */ 1317 /* Tox ID */
1318 server_whitelist_mode = 1; 1318 server_whitelist_mode = 1;
1319 log_printf(L_DEBUG, "Server whitelist mode enabled");
1320 allowed_toxid_obj = (allowed_toxid *)calloc(sizeof(allowed_toxid), 1); 1319 allowed_toxid_obj = (allowed_toxid *)calloc(sizeof(allowed_toxid), 1);
1321 if(!allowed_toxid_obj) 1320 if(!allowed_toxid_obj)
1322 { 1321 {