[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r22611 - gnunet/src/util
From: |
gnunet |
Subject: |
[GNUnet-SVN] r22611 - gnunet/src/util |
Date: |
Wed, 11 Jul 2012 22:19:45 +0200 |
Author: LRN
Date: 2012-07-11 22:19:45 +0200 (Wed, 11 Jul 2012)
New Revision: 22611
Modified:
gnunet/src/util/w32cat.c
Log:
A small fix for W32cat
Modified: gnunet/src/util/w32cat.c
===================================================================
--- gnunet/src/util/w32cat.c 2012-07-11 15:36:33 UTC (rev 22610)
+++ gnunet/src/util/w32cat.c 2012-07-11 20:19:45 UTC (rev 22611)
@@ -79,7 +79,7 @@
{
unsigned char c;
b = ReadFile (stdi, &c, 1, &r, NULL);
- if (r > 0)
+ if (b && r > 0)
{
b = WriteFile (stdo, &c, 1, &w, NULL);
if (b == 0)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r22611 - gnunet/src/util,
gnunet <=