Mercurial > hg > nnchat
changeset 642:c8e5949a8961
Use th-libs functions.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 07 Jan 2015 16:56:54 +0200 |
parents | 4bb6557c2b44 |
children | d6792ccefe2f |
files | main.c |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/main.c Mon Dec 15 19:56:13 2014 +0200 +++ b/main.c Wed Jan 07 16:56:54 2015 +0200 @@ -198,7 +198,7 @@ optProxyEnable = FALSE; // Handle disable case - if (strncasecmp(uri, "disab", 5) == 0) + if (th_strncasecmp(uri, "disab", 5) == 0) return TRUE; // Split the URI @@ -209,13 +209,13 @@ } // Validate proxy type - if (strcasecmp(proto, "socks4") == 0) + if (th_strcasecmp(proto, "socks4") == 0) optProxyType = TH_PROXY_SOCKS4; else - if (strcasecmp(proto, "socks4a") == 0) + if (th_strcasecmp(proto, "socks4a") == 0) optProxyType = TH_PROXY_SOCKS4A; else - if (strcasecmp(proto, "socks5") == 0) + if (th_strcasecmp(proto, "socks5") == 0) optProxyType = TH_PROXY_SOCKS5; else { @@ -333,7 +333,7 @@ { int i; for (i = 0; i < nn_room_data_n; i++) - if (!strcasecmp(nn_room_data[i].name, optArg)) + if (!th_strcasecmp(nn_room_data[i].name, optArg)) { optPort = nn_room_data[i].port; return TRUE;