blob: 34ae1807b08ca670ba0110b8cf5de44c8df038c0 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
From 37b6c29ad32692aa0fea5a65492ddbea0b4a8b5d Mon Sep 17 00:00:00 2001
From: Jonathan Curran <jonathan@curran.in>
Date: Wed, 9 Sep 2015 17:11:55 +0000
Subject: [PATCH 1/3] Fix NETDB_SUCCESS value
---
openbsd-compat/defines.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/openbsd-compat/defines.h b/openbsd-compat/defines.h
index da7a42c..9f50ece 100644
--- a/openbsd-compat/defines.h
+++ b/openbsd-compat/defines.h
@@ -823,7 +823,7 @@ struct winsize {
#endif
#ifndef NETDB_SUCCESS
-# define NETDB_SUCCESS -1
+# define NETDB_SUCCESS 0
#endif
/* end of chl */
--
2.11.1
|