ITS#5815: Fix typo "#elif defined( MAXHOSTNAMELEN".

This commit is contained in:
Hallvard Furuseth 2008-11-16 22:52:56 +00:00
parent bbcc89ecd3
commit c7002ffed5

View 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];