[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r25379 - gnunet/src/stream
From: |
gnunet |
Subject: |
[GNUnet-SVN] r25379 - gnunet/src/stream |
Date: |
Mon, 10 Dec 2012 21:49:10 +0100 |
Author: harsha
Date: 2012-12-10 21:49:10 +0100 (Mon, 10 Dec 2012)
New Revision: 25379
Modified:
gnunet/src/stream/stream_api.c
Log:
- warning when trying to read when a read handle is already present
Modified: gnunet/src/stream/stream_api.c
===================================================================
--- gnunet/src/stream/stream_api.c 2012-12-10 20:42:31 UTC (rev 25378)
+++ gnunet/src/stream/stream_api.c 2012-12-10 20:49:10 UTC (rev 25379)
@@ -3581,8 +3581,11 @@
__func__);
/* Return NULL if there is already a read handle; the user has to cancel that
first before continuing or has to wait until it is completed */
- if (NULL != socket->read_handle)
+ if (NULL != socket->read_handle)
+ {
+ GNUNET_break (0);
return NULL;
+ }
GNUNET_assert (NULL != proc);
switch (socket->state)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r25379 - gnunet/src/stream,
gnunet <=