Mercurial > hg > nnchat
diff 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 |
line wrap: on
line diff
--- a/main.c Mon Feb 10 22:59:13 2014 +0200 +++ b/main.c Thu May 08 16:14:09 2014 +0300 @@ -2062,7 +2062,7 @@ // Are we using a proxy? if (optProxyType != NN_PROXY_NONE && optProxyServer != NULL) { - if (nn_conn_set_proxy(conn, optProxyType, optProxyPort, optProxyServer) != 0) + if (nn_conn_set_proxy(conn, optProxyType, optProxyPort, optProxyServer, NULL) != 0) { errorMsg("Error setting proxy information.\n"); goto err_exit;