comparison main.c @ 627:493c08d452d9

API changes in th_network.
author Matti Hamalainen <ccr@tnsp.org>
date Sat, 21 Jun 2014 05:11:14 +0300
parents edac1485308d
children fd0e1589e268
comparison
equal deleted inserted replaced
626:904c359b1ced 627:493c08d452d9
2209 errorMsg("Username and/or password not specified.\n"); 2209 errorMsg("Username and/or password not specified.\n");
2210 goto err_exit; 2210 goto err_exit;
2211 } 2211 }
2212 2212
2213 // Create a connection 2213 // Create a connection
2214 conn = th_conn_new(nn_network_errfunc, nn_network_msgfunc); 2214 conn = th_conn_new(nn_network_errfunc, nn_network_msgfunc, -1);
2215 if (conn == NULL) 2215 if (conn == NULL)
2216 { 2216 {
2217 errorMsg("Could not create connection structure.\n"); 2217 errorMsg("Could not create connection structure.\n");
2218 goto err_exit; 2218 goto err_exit;
2219 } 2219 }