Flush args instruction.
authorMichael Jumper <zhangmaike@users.sourceforge.net>
Sat, 26 Nov 2011 00:42:46 +0000 (16:42 -0800)
committerMichael Jumper <zhangmaike@users.sourceforge.net>
Sat, 26 Nov 2011 00:42:46 +0000 (16:42 -0800)
src/daemon.c

index 642ac6d..bc352f3 100644 (file)
@@ -102,7 +102,8 @@ void* start_client_thread(void* data) {
     }
 
     /* Send args response */
-    if (guac_protocol_send_args(socket, plugin->args)) {
+    if (guac_protocol_send_args(socket, plugin->args)
+            || guac_socket_flush(socket)) {
 
         if (guac_client_plugin_close(plugin)) {
             /* TODO: LOG ERROR */