Browse files

make it compile again

  • Loading branch information...
1 parent 27afb14 commit 4eab72f0934137582c5182c1cacc09d31323bf4a @thejh committed Jun 2, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/outstream.c
View
2 src/outstream.c
@@ -85,7 +85,7 @@ int outstream_send(struct outstream *s, char *buf, size_t len) {
} else if (written == 0) {
s->error_cb(s); return 1;
}
- if (written == len) { free(buf); return; } // yaaay, no buffer magic needed!
+ if (written == len) { free(buf); return 0; } // yaaay, no buffer magic needed!
// unlikely: empty->filled transition
if (written == -1) written = 0;

0 comments on commit 4eab72f

Please sign in to comment.