Do not crash if net_connect fails immediately.
[silc.git] / lib / silcclient / client_internal.h
index 20d05d0a1e0c9989d57a82a210931adccafe9ee9..0f98d3336571c82ac779ed3994bc938c3d19f91d 100644 (file)
@@ -221,7 +221,7 @@ void silc_client_packet_send(SilcClient client,
                              unsigned char *data,
                              SilcUInt32 data_len,
                              bool force_send);
-bool silc_client_packet_send_real(SilcClient client,
+int silc_client_packet_send_real(SilcClient client,
                                 SilcSocketConnection sock,
                                 bool force_send);
 void silc_client_ftp_free_sessions(SilcClient client,