Mercurial > hg > nnchat
comparison main.c @ 628:fd0e1589e268
API update.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Sat, 21 Jun 2014 05:59:22 +0300 |
parents | 493c08d452d9 |
children | 005d7a0351b6 |
comparison
equal
deleted
inserted
replaced
627:493c08d452d9 | 628:fd0e1589e268 |
---|---|
2224 if (optProxyType != TH_PROXY_NONE && optProxyServer != NULL) | 2224 if (optProxyType != TH_PROXY_NONE && optProxyServer != NULL) |
2225 { | 2225 { |
2226 if (optProxyUserID == NULL) | 2226 if (optProxyUserID == NULL) |
2227 optProxyUserID = "James Bond"; | 2227 optProxyUserID = "James Bond"; |
2228 | 2228 |
2229 if (th_conn_set_proxy(conn, optProxyType, optProxyPort, optProxyServer, optProxyAuthType) != 0 || | 2229 if (th_conn_set_proxy(conn, optProxyType, optProxyPort, optProxyServer, optProxyAuthType) != THERR_OK || |
2230 th_conn_set_proxy_auth_user(conn, optProxyUserID, optProxyPassword) != 0) | 2230 th_conn_set_proxy_auth_user(conn, optProxyUserID, optProxyPassword) != THERR_OK) |
2231 { | 2231 { |
2232 errorMsg("Error setting proxy information.\n"); | 2232 errorMsg("Error setting proxy information.\n"); |
2233 goto err_exit; | 2233 goto err_exit; |
2234 } | 2234 } |
2235 } | 2235 } |