network_socket_t sock;
module_t *p_network = NULL;
+ if( psz_server == NULL ) psz_server = "";
+ if( psz_bind == NULL ) psz_bind = "";
+
/* Prepare the network_socket_t structure */
sock.psz_bind_addr = psz_bind;
sock.i_bind_port = i_bind;
sock.v6only = 0;
sock.i_handle = -1;
- if( psz_server == NULL )
- psz_server = "";
- if( psz_bind == NULL )
- psz_bind = "";
-
msg_Dbg( p_this, "net: connecting to '[%s]:%d@[%s]:%d'",
psz_server, i_server, psz_bind, i_bind );