os2: getaddrinfo: fix typo
authorKO Myung-Hun <komh78@gmail.com>
Thu, 28 Aug 2014 07:14:51 +0000 (16:14 +0900)
committerJean-Baptiste Kempf <jb@videolan.org>
Thu, 28 Aug 2014 07:18:08 +0000 (09:18 +0200)
Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
src/os2/getaddrinfo.c

index c0dc419..1a3f8a4 100644 (file)
@@ -261,7 +261,7 @@ getaddrinfo (const char *node, const char *service,
                 protocol = IPPROTO_UDP;
                 break;
 
-#ifndef SOCK_RAW
+#ifdef SOCK_RAW
             case SOCK_RAW:
 #endif
             case 0: