+/* $OpenLDAP$ */
/*
* Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file
*/
#include "portable.h"
+#include <ac/stdlib.h>
+
#include <stdio.h>
-#include <stdlib.h>
-#include "lber.h"
-#include "ldap.h"
+#include <ldap.h>
int
main(int argc, char **argv)
printf(" HOST NAME: %s\n", sval);
ldap_memfree(sval);
} else {
- printf(" HOST NAME: <not set>\n", sval);
+ puts(" HOST NAME: <not set>");
}
return EXIT_SUCCESS;