aboutsummaryrefslogtreecommitdiff
path: root/src/util/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/network.c')
-rw-r--r--src/util/network.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/util/network.c b/src/util/network.c
index 012b1af0b..d6ef9c729 100644
--- a/src/util/network.c
+++ b/src/util/network.c
@@ -1409,7 +1409,7 @@ GNUNET_NETWORK_socket_select (struct GNUNET_NETWORK_FDSet *rfds,
1409 1409
1410 fh = (struct GNUNET_DISK_FileHandle *) GNUNET_CONTAINER_slist_get (&i, 1410 fh = (struct GNUNET_DISK_FileHandle *) GNUNET_CONTAINER_slist_get (&i,
1411 NULL); 1411 NULL);
1412 if (fh->type == GNUNET_PIPE) 1412 if (fh->type == GNUNET_DISK_HANLDE_TYPE_PIPE)
1413 { 1413 {
1414 /* Read zero bytes to check the status of the pipe */ 1414 /* Read zero bytes to check the status of the pipe */
1415 LOG (GNUNET_ERROR_TYPE_DEBUG, "Reading 0 bytes from the pipe 0x%x\n", 1415 LOG (GNUNET_ERROR_TYPE_DEBUG, "Reading 0 bytes from the pipe 0x%x\n",
@@ -1470,7 +1470,7 @@ GNUNET_NETWORK_socket_select (struct GNUNET_NETWORK_FDSet *rfds,
1470 1470
1471 fh = (struct GNUNET_DISK_FileHandle *) GNUNET_CONTAINER_slist_get (&i, 1471 fh = (struct GNUNET_DISK_FileHandle *) GNUNET_CONTAINER_slist_get (&i,
1472 NULL); 1472 NULL);
1473 if (fh->type == GNUNET_PIPE) 1473 if (fh->type == GNUNET_DISK_HANLDE_TYPE_PIPE)
1474 { 1474 {
1475 if (!PeekNamedPipe (fh->h, NULL, 0, NULL, &dwBytes, NULL)) 1475 if (!PeekNamedPipe (fh->h, NULL, 0, NULL, &dwBytes, NULL))
1476 { 1476 {
@@ -1632,7 +1632,7 @@ GNUNET_NETWORK_socket_select (struct GNUNET_NETWORK_FDSet *rfds,
1632 1632
1633 fh = (struct GNUNET_DISK_FileHandle *) GNUNET_CONTAINER_slist_get (&t, 1633 fh = (struct GNUNET_DISK_FileHandle *) GNUNET_CONTAINER_slist_get (&t,
1634 NULL); 1634 NULL);
1635 if (fh->type == GNUNET_PIPE) 1635 if (fh->type == GNUNET_DISK_HANLDE_TYPE_PIPE)
1636 { 1636 {
1637 CancelIo (fh->h); 1637 CancelIo (fh->h);
1638 } 1638 }