aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-10-12 08:32:11 +0000
committerChristian Grothoff <christian@grothoff.org>2011-10-12 08:32:11 +0000
commit0a96a645f8b62c0af1613591033ad754ac506173 (patch)
treeaa5f555a5aeac3a37cb4f07d046fa9b09e096c73
parent6540da3ca946b4a6d04c3b4c8d95aec2e4ea7235 (diff)
downloadgnunet-0a96a645f8b62c0af1613591033ad754ac506173.tar.gz
gnunet-0a96a645f8b62c0af1613591033ad754ac506173.zip
LRN: Fix slist misuse in network.c
-rw-r--r--src/util/network.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/util/network.c b/src/util/network.c
index a62a57758..fa097dff4 100644
--- a/src/util/network.c
+++ b/src/util/network.c
@@ -1175,6 +1175,7 @@ GNUNET_NETWORK_socket_select (struct GNUNET_NETWORK_FDSet *rfds,
1175 LOG (GNUNET_ERROR_TYPE_DEBUG, "FD 0x%x (0x%x) is SET in rfds\n", 1175 LOG (GNUNET_ERROR_TYPE_DEBUG, "FD 0x%x (0x%x) is SET in rfds\n",
1176 fh->h, fh); 1176 fh->h, fh);
1177 } 1177 }
1178 GNUNET_CONTAINER_slist_iter_destroy (t);
1178 } 1179 }
1179#endif 1180#endif
1180#endif 1181#endif
@@ -1696,6 +1697,7 @@ GNUNET_NETWORK_socket_select (struct GNUNET_NETWORK_FDSet *rfds,
1696 NULL); 1697 NULL);
1697 LOG (GNUNET_ERROR_TYPE_DEBUG, "FD 0x%x is SET in rfds\n", fh->h); 1698 LOG (GNUNET_ERROR_TYPE_DEBUG, "FD 0x%x is SET in rfds\n", fh->h);
1698 } 1699 }
1700 GNUNET_CONTAINER_slist_iter_destroy (t);
1699 } 1701 }
1700 if (wfds) 1702 if (wfds)
1701 { 1703 {