[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r23824 - gnunet/src/dns
From: |
gnunet |
Subject: |
[GNUnet-SVN] r23824 - gnunet/src/dns |
Date: |
Fri, 14 Sep 2012 18:33:22 +0200 |
Author: grothoff
Date: 2012-09-14 18:33:22 +0200 (Fri, 14 Sep 2012)
New Revision: 23824
Modified:
gnunet/src/dns/gnunet-helper-dns.c
Log:
-fix
Modified: gnunet/src/dns/gnunet-helper-dns.c
===================================================================
--- gnunet/src/dns/gnunet-helper-dns.c 2012-09-14 16:30:19 UTC (rev 23823)
+++ gnunet/src/dns/gnunet-helper-dns.c 2012-09-14 16:33:22 UTC (rev 23824)
@@ -497,7 +497,7 @@
* We are supposed to read and the buffer is not empty
* -> select on write to stdout
*/
- if (0 != buftun_size)
+ if (0 < buftun_size)
FD_SET (1, &fds_w);
/*
@@ -541,7 +541,10 @@
{
if ( (errno == EINTR) ||
(errno == EAGAIN) )
- continue;
+ {
+ buftun_size = 0;
+ continue;
+ }
fprintf (stderr, "read-error: %s\n", strerror (errno));
return;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r23824 - gnunet/src/dns,
gnunet <=