diff options
author | Egbert Eich <eich@suse.de> | 2004-01-29 08:08:04 +0000 |
---|---|---|
committer | Egbert Eich <eich@suse.de> | 2004-01-29 08:08:04 +0000 |
commit | ea5d51824610a0b5205871a158b055d58879fc0c (patch) | |
tree | 7b0123ac29a82d85019f3e1fa2b8984541d936a2 /src/sm_genid.c | |
parent | a968ef24dfc9ddd1322f91acb4a6a1898fc15490 (diff) |
Importing vendor version xf86-012804-2330 on Thu Jan 29 00:06:33 PST 2004xf86-4_3_99_903_specialxf86-012804-2330
Diffstat (limited to 'src/sm_genid.c')
-rw-r--r-- | src/sm_genid.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sm_genid.c b/src/sm_genid.c index 8771d07..01e6e35 100644 --- a/src/sm_genid.c +++ b/src/sm_genid.c @@ -25,7 +25,7 @@ used in advertising or otherwise to promote the sale, use or other dealings in this Software without prior written authorization from The Open Group. */ -/* $XFree86: xc/lib/SM/sm_genid.c,v 3.17 2003/07/09 15:27:28 tsi Exp $ */ +/* $XFree86: xc/lib/SM/sm_genid.c,v 3.18 2004/01/20 03:36:27 dawes Exp $ */ /* * Author: Ralph Mor, X Consortium @@ -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) { |