diff options
author | Guy Harris <guy@alum.mit.edu> | 2017-10-01 20:37:19 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2017-10-01 20:37:19 -0700 |
commit | f1de55bf448a0599d77ffae3f94e5e631cd09041 (patch) | |
tree | 2e638acb22b469046d33c06ee31b853c8ade7965 | |
parent | 1151f7b9ad9c2188ea6d8c0cc26df02478f3abaa (diff) |
Set the [gs]set non-blocking mode handlers up front on Windows.
-rw-r--r-- | pcap-dbus.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pcap-dbus.c b/pcap-dbus.c index 1c65d8d5..f179fe61 100644 --- a/pcap-dbus.c +++ b/pcap-dbus.c @@ -319,7 +319,6 @@ dbus_create(const char *device, char *ebuf, int *is_ours) return (NULL); p->activate_op = dbus_activate; -#ifndef _WIN32 /* * Set these up front, so that, even if our client tries * to set non-blocking mode before we're activated, or @@ -329,7 +328,6 @@ dbus_create(const char *device, char *ebuf, int *is_ours) */ p->getnonblock_op = dbus_getnonblock; p->setnonblock_op = dbus_setnonblock; -#endif return (p); } |