]> git.sur5r.net Git - openldap/commitdiff
ITS#5815: Fix typo "#elif defined( MAXHOSTNAMELEN".
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 16 Nov 2008 22:52:56 +0000 (22:52 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 16 Nov 2008 22:52:56 +0000 (22:52 +0000)
libraries/libldap/os-ip.c

index 4092b742facd7a275b85e2edb8035a9a33a30735..55636aaece8abfb388279e724bc952ba66382bae 100644 (file)
@@ -769,7 +769,7 @@ ldap_host_connected_to( Sockbuf *sb, const char *host )
                char *herr;
 #ifdef NI_MAXHOST
                char hbuf[NI_MAXHOST];
-#elif defined( MAXHOSTNAMELEN
+#elif defined( MAXHOSTNAMELEN )
                char hbuf[MAXHOSTNAMELEN];
 #else
                char hbuf[256];