getaddrinfo: Doc fix.
[pspp] / m4 / iconv_open.m4
index da9b1fd7e55e56ef8268a0eba76f291df4d715b4..b062e73b28635eed5a567ba4570eb174f4c415eb 100644 (file)
@@ -1,5 +1,5 @@
-# iconv_open.m4 serial 11
-dnl Copyright (C) 2007-2010 Free Software Foundation, Inc.
+# iconv_open.m4 serial 12
+dnl Copyright (C) 2007-2011 Free Software Foundation, Inc.
 dnl This file is free software; the Free Software Foundation
 dnl gives unlimited permission to copy and/or distribute it,
 dnl with or without modifications, as long as this notice is preserved.
@@ -203,7 +203,7 @@ int main ()
           result |= 8;
         else if (!(memcmp (buf, expected, sizeof (expected) - 1) == 0))
           result |= 8;
-        else if ((iconv_close (cd) == 0))
+        else if (!(iconv_close (cd) == 0))
           result |= 8;
       }
   }