X-Git-Url: https://git.sommitrealweird.co.uk/onak.git/blobdiff_plain/f3143629476bae20f5310bbc0a59fe735b5d245d..c5c516adbe4ddcf8d57e7f21317125422e0f6ed8:/sendsync.c diff --git a/sendsync.c b/sendsync.c index ace6b0d..1d41d4d 100644 --- a/sendsync.c +++ b/sendsync.c @@ -21,11 +21,8 @@ int fd_putchar(void *ctx, size_t count, void *c) { - int i; + fwrite(c, sizeof(char), count, ctx); - for (i = 0; i < count; i++) { - fputc(((char *) c )[i], ctx); - } return 0; }