# HG changeset patch # User Matti Hamalainen # Date 1403319562 -10800 # Node ID fd0e1589e268a16b96e47ceb5c95042521451534 # Parent 493c08d452d971b12cbd1278b2c49686770e5d36 API update. diff -r 493c08d452d9 -r fd0e1589e268 main.c --- a/main.c Sat Jun 21 05:11:14 2014 +0300 +++ b/main.c Sat Jun 21 05:59:22 2014 +0300 @@ -2226,8 +2226,8 @@ if (optProxyUserID == NULL) optProxyUserID = "James Bond"; - if (th_conn_set_proxy(conn, optProxyType, optProxyPort, optProxyServer, optProxyAuthType) != 0 || - th_conn_set_proxy_auth_user(conn, optProxyUserID, optProxyPassword) != 0) + if (th_conn_set_proxy(conn, optProxyType, optProxyPort, optProxyServer, optProxyAuthType) != THERR_OK || + th_conn_set_proxy_auth_user(conn, optProxyUserID, optProxyPassword) != THERR_OK) { errorMsg("Error setting proxy information.\n"); goto err_exit;