aboutsummaryrefslogtreecommitdiff
path: root/src/util/os_priority.c
diff options
context:
space:
mode:
authorgrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-07-18 09:15:40 +0000
committergrothoff <grothoff@140774ce-b5e7-0310-ab8b-a85725594a96>2012-07-18 09:15:40 +0000
commita1a07aeb95da7efadf787f5fb7182e76d80e7a0b (patch)
tree9f6e19e0d1550455e61a4fb892d8b847e54d8ae2 /src/util/os_priority.c
parentd298ee4d86bd4ee93710e1c066ec857b28d5ed87 (diff)
-minor code cleanup
git-svn-id: https://gnunet.org/svn/gnunet@22740 140774ce-b5e7-0310-ab8b-a85725594a96
Diffstat (limited to 'src/util/os_priority.c')
-rw-r--r--src/util/os_priority.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/os_priority.c b/src/util/os_priority.c
index 979511d8e3..33c84e8043 100644
--- a/src/util/os_priority.c
+++ b/src/util/os_priority.c
@@ -161,7 +161,7 @@ npipe_create (char **fn, enum GNUNET_DISK_OpenFlags flags,
}
ret = GNUNET_malloc (sizeof (struct GNUNET_DISK_FileHandle));
ret->h = h;
- ret->type = GNUNET_PIPE;
+ ret->type = GNUNET_DISK_HANLDE_TYPE_PIPE;
ret->oOverlapRead = GNUNET_malloc (sizeof (OVERLAPPED));
ret->oOverlapWrite = GNUNET_malloc (sizeof (OVERLAPPED));
ret->oOverlapRead->hEvent = CreateEvent (NULL, FALSE, FALSE, NULL);
@@ -202,7 +202,7 @@ npipe_open (const char *fn, enum GNUNET_DISK_OpenFlags flags)
ret = GNUNET_malloc (sizeof (struct GNUNET_DISK_FileHandle));
ret->h = h;
- ret->type = GNUNET_PIPE;
+ ret->type = GNUNET_DISK_HANLDE_TYPE_PIPE;
ret->oOverlapRead = GNUNET_malloc (sizeof (OVERLAPPED));
ret->oOverlapWrite = GNUNET_malloc (sizeof (OVERLAPPED));
ret->oOverlapRead->hEvent = CreateEvent (NULL, FALSE, FALSE, NULL);