]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/apitest.c
* build/top.mk: removed references to TMPROOT and added DESTDIR support
[openldap] / libraries / libldap / apitest.c
index f3a181aed8b1dbe5f2d105c79e984f33ad403b30..b14f563d4bfdf62671a2efa8d811193ba9a19f60 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 #include "portable.h"
 
-#include <stdio.h>
-
 #include <ac/stdlib.h>
 
-#include "lber.h"
-#include "ldap.h"
+#include <stdio.h>
+
+#include <ldap.h>
 
 int
 main(int argc, char **argv)
@@ -185,7 +185,7 @@ 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;