Remove all the "assert(len>0)" which forbade zero-length writes across the
[u/mdw/putty] / plink.c
diff --git a/plink.c b/plink.c
index 41a5001..f0fe60c 100644 (file)
--- a/plink.c
+++ b/plink.c
@@ -180,8 +180,6 @@ int from_backend(void *frontend_handle, int is_stderr,
 {
     int osize, esize;
 
-    assert(len > 0);
-
     if (is_stderr) {
        bufchain_add(&stderr_data, data, len);
        try_output(1);