Skip to content
This repository has been archived by the owner on Feb 20, 2021. It is now read-only.

Commit

Permalink
Merge commit '488ea' into bksavecow
Browse files Browse the repository at this point in the history
  • Loading branch information
HenryRawas committed Aug 7, 2012
2 parents 138eb25 + 488ea04 commit 7a6fc7d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/redis-cli.c
Expand Up @@ -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);
Expand Down

0 comments on commit 7a6fc7d

Please sign in to comment.