[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] r36958 - gnunet/src/cadet
From: |
gnunet |
Subject: |
[GNUnet-SVN] r36958 - gnunet/src/cadet |
Date: |
Wed, 30 Mar 2016 11:17:48 +0200 |
Author: bartpolot
Date: 2016-03-30 11:17:47 +0200 (Wed, 30 Mar 2016)
New Revision: 36958
Modified:
gnunet/src/cadet/gnunet-service-cadet_connection.c
Log:
- typo, comparison order
Modified: gnunet/src/cadet/gnunet-service-cadet_connection.c
===================================================================
--- gnunet/src/cadet/gnunet-service-cadet_connection.c 2016-03-29 12:09:17 UTC
(rev 36957)
+++ gnunet/src/cadet/gnunet-service-cadet_connection.c 2016-03-30 09:17:47 UTC
(rev 36958)
@@ -1652,7 +1652,7 @@
/**
* Iterator to compare each connection's path with the path of a new
connection.
*
- * If the connection conincides, the c member of path is set to the connection
+ * If the connection coincides, the c member of path is set to the connection
* and the destroy flag of the connection is set.
*
* @param cls Closure (new path).
@@ -1668,9 +1668,9 @@
GCC_2s (c), c, c->path->length);
if (c != new_conn
- && c->destroy == GNUNET_NO
- && c->state != CADET_CONNECTION_BROKEN
- && c->state != CADET_CONNECTION_DESTROYED
+ && GNUNET_NO == c->destroy
+ && CADET_CONNECTION_BROKEN != c->state
+ && CADET_CONNECTION_DESTROYED != c->state
&& path_equivalent (path, c->path))
{
new_conn->destroy = GNUNET_YES;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] r36958 - gnunet/src/cadet,
gnunet <=