The unified diff between revisions [879bb490..] and [891173fb..] is displayed below. It can also be downloaded as a raw diff.

This diff has been restricted to the following files: 'src/lsi/cmdsocket.c'

#
# old_revision [879bb490162f7bfef0afc9c96666267f54996591]
# new_revision [891173fb957443aa4b4a92446e8e30e67c4d08fd]
#
# patch "src/lsi/cmdsocket.c"
#  from [9b889b4562b843474cf909d9e86a5b7e0ec90a51]
#    to [cd7a18effae96a82e01bc4931fca5a77fdfdbcdb]
#
============================================================
--- src/lsi/cmdsocket.c	9b889b4562b843474cf909d9e86a5b7e0ec90a51
+++ src/lsi/cmdsocket.c	cd7a18effae96a82e01bc4931fca5a77fdfdbcdb
@@ -131,7 +131,7 @@ void cmd_parse(char *cmd) {
 
 	*strchr(cmd, '\n') = '\0';
 //	printf("DEBUG: Received command: %s\n", cmd);
-	fflush(stdout);
+//	fflush(stdout);
 
 	sp = strtok(cmd, " \t\r");
 	sp = strtok(NULL, " \t\r");
@@ -144,9 +144,9 @@ void cmd_parse(char *cmd) {
 	strncat(function, cmd, CMD_MAXSIZE);
 
 //	printf("DEBUG: function: %s, arg %d\n", function, arg);
-	fflush(stdout);
+//	fflush(stdout);
 	if (vm_spawn_args(function, 1, arg)) {
-		/* Write an ack here, once a proper function exists */
+		/* The ack gets sent by the script */
 	} else {
 		/* Write an error, if it's possible. Don't worry about
 		   missing characters and buffering for now, but we