Fix stupid error in previous commit

Since ret is no longer update by close_notify(), we need to reset it to 0
after a successful write.
This commit is contained in:
Manuel Pégourié-Gonnard 2015-01-14 10:46:08 +01:00
parent 687f89beab
commit a92ed4845c

View file

@ -1749,7 +1749,7 @@ data_exchange:
buf[written] = '\0';
printf( " %d bytes written in %d fragments\n\n%s\n", written, frags, (char *) buf );
ret = 0;
/*
* 7b. Continue doing data exchanges?