[vhffs-dev] [1530] humm, we need to take into consideration useless binary data that may come ;)

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 1530
Author:   gradator
Date:     2010-01-09 18:53:43 +0100 (Sat, 09 Jan 2010)
Log Message:
-----------
humm, we need to take into consideration useless binary data that may come ;)

Modified Paths:
--------------
    trunk/vhffs-fssync/vhffsfssync_slave.c

Modified: trunk/vhffs-fssync/vhffsfssync_slave.c
===================================================================
--- trunk/vhffs-fssync/vhffsfssync_slave.c	2010-01-09 17:29:44 UTC (rev 1529)
+++ trunk/vhffs-fssync/vhffsfssync_slave.c	2010-01-09 17:53:43 UTC (rev 1530)
@@ -590,6 +590,8 @@
 	else if(!strcmp(args[0], "move")) {
 	}
 	else if(!strcmp(args[0], "write")) {
+		ssize_t size = atol(args[3]);
+		conn->chunk_stilltoread = size;
 	}
 	else if(!strcmp(args[0], "ls")) {
 		char *root, *root_;


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/