diff options
Diffstat (limited to 'src/elogin/config.c')
-rw-r--r-- | src/elogin/config.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/elogin/config.c b/src/elogin/config.c index 83c3c4f..6abaa6c 100644 --- a/src/elogin/config.c +++ b/src/elogin/config.c @@ -14,30 +14,14 @@ #include "elogin/config.h" char *update_server = NULL; -char *inter_server_ip = NULL; void config_update_server(const char *val) { update_server = aStrdup(val); } -void config_inter_server_ip(const char *val) -{ - char buf[1000]; - - if (strlen(val) > 900) - return; - - strcpy(buf, ","); - strcat(buf, val); - strcat(buf, ","); - inter_server_ip = aStrdup(buf); -} - void config_final(void) { if (update_server) aFree(update_server); - if (inter_server_ip) - aFree(inter_server_ip); } |