diff options
author | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-03-17 20:26:53 +0000 |
---|---|---|
committer | Alexander Gottwald <alexander.gottwald@s1999.tu-chemnitz.de> | 2004-03-17 20:26:53 +0000 |
commit | 7e5650376f71e6aa323f2c0e0d5d8d38fd1bfa7b (patch) | |
tree | dc35bea81adc8f2a740b07b3028bbd40fe735579 /src/sm_genid.c | |
parent | 09ca1da2938f5086eddad61f589cd7d4a865f80f (diff) |
merge with XORG-RELEASE-1 (tag XORG-CYGWIN-LAST-MERGE)CYGWIN-RELEASE-1-MERGECYGWIN-PRE-6_8_0-MERGECYGWIN-HEAD-MERGECYGWIN-HEAD-LAST-MERGE
Diffstat (limited to 'src/sm_genid.c')
-rw-r--r-- | src/sm_genid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sm_genid.c b/src/sm_genid.c index 8771d07..67b3317 100644 --- a/src/sm_genid.c +++ b/src/sm_genid.c @@ -136,7 +136,7 @@ SmsGenerateClientID (smsConn) struct in_addr *haddr = NULL; #if defined(IPv6) && defined(AF_INET6) struct addrinfo *ai, *first_ai; - if (getaddrinfo(hostname,NULL,NULL,&ai) == 0) + if (getaddrinfo(hostname,NULL,NULL,&ai) != 0) return NULL; for (first_ai = ai; ai != NULL; ai = ai->ai_next) { |