[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r21016 - gnunet/src/stream
From: |
gnunet |
Subject: |
[GNUnet-SVN] r21016 - gnunet/src/stream |
Date: |
Wed, 18 Apr 2012 23:36:38 +0200 |
Author: harsha
Date: 2012-04-18 23:36:38 +0200 (Wed, 18 Apr 2012)
New Revision: 21016
Modified:
gnunet/src/stream/test_stream_local.c
Log:
-fixed wrong assertion
Modified: gnunet/src/stream/test_stream_local.c
===================================================================
--- gnunet/src/stream/test_stream_local.c 2012-04-18 17:34:55 UTC (rev
21015)
+++ gnunet/src/stream/test_stream_local.c 2012-04-18 21:36:38 UTC (rev
21016)
@@ -288,9 +288,9 @@
GNUNET_assert (GNUNET_STREAM_OK == status);
GNUNET_assert (size <= strlen (data));
- GNUNET_assert (strncmp ((const char *) data + peer->bytes_read,
- (const char *) input_data,
- size));
+ GNUNET_assert (0 == strncmp ((const char *) data + peer->bytes_read,
+ (const char *) input_data,
+ size));
peer->bytes_read += size;
if (peer->bytes_read < strlen (data))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r21016 - gnunet/src/stream,
gnunet <=