Added 'send_events' boolean argument to the function
[silc.git] / lib / silcclient / client_ftp.c
index 7aac6b32f423b90a095385f5d33794b4625ef2a8..5d981a236236db35cd7213d0fea9664eee07e56d 100644 (file)
@@ -131,7 +131,8 @@ silc_client_connect_to_client_internal(SilcClientInternalConnectContext *ctx)
                                     (void *)ctx, 0, 0, 
                                     SILC_TASK_FD,
                                     SILC_TASK_PRI_NORMAL);
-  silc_schedule_set_listen_fd(ctx->client->schedule, sock, SILC_TASK_WRITE);
+  silc_schedule_set_listen_fd(ctx->client->schedule, sock, SILC_TASK_WRITE,
+                             FALSE);
   ctx->sock = sock;
   return sock;
 }