comparison main.c @ 599:eeea75b8b6f3

Implement proxy user id setting.
author Matti Hamalainen <ccr@tnsp.org>
date Thu, 08 May 2014 16:14:09 +0300
parents 1e10031cf2d5
children e661d7654e23
comparison
equal deleted inserted replaced
598:1e10031cf2d5 599:eeea75b8b6f3
2060 editState.conn = conn; 2060 editState.conn = conn;
2061 2061
2062 // Are we using a proxy? 2062 // Are we using a proxy?
2063 if (optProxyType != NN_PROXY_NONE && optProxyServer != NULL) 2063 if (optProxyType != NN_PROXY_NONE && optProxyServer != NULL)
2064 { 2064 {
2065 if (nn_conn_set_proxy(conn, optProxyType, optProxyPort, optProxyServer) != 0) 2065 if (nn_conn_set_proxy(conn, optProxyType, optProxyPort, optProxyServer, NULL) != 0)
2066 { 2066 {
2067 errorMsg("Error setting proxy information.\n"); 2067 errorMsg("Error setting proxy information.\n");
2068 goto err_exit; 2068 goto err_exit;
2069 } 2069 }
2070 } 2070 }