Skip to content
Browse files

Merge commit '488ea' into bksavecow

  • Loading branch information...
2 parents 138eb25 + 488ea04 commit 7a6fc7d872db2649506aa029eab45da86dc68ed5 @HenryRawas HenryRawas committed Aug 7, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/redis-cli.c
View
5 src/redis-cli.c
@@ -527,7 +527,12 @@ static int cliReadReply(int output_raw_strings) {
out = sdscat(out,"\n");
}
}
+#ifdef _WIN32
+ /* if size is too large, fwrite fails. Use fprintf */
+ fprintf(stdout, "%s", out);
+#else
fwrite(out,sdslen(out),1,stdout);
+#endif
sdsfree(out);
}
freeReplyObject(reply);

0 comments on commit 7a6fc7d

Please sign in to comment.
Something went wrong with that request. Please try again.