]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/apitest.c
Fix up NT port after thread changes
[openldap] / libraries / libldap / apitest.c
index f3a181aed8b1dbe5f2d105c79e984f33ad403b30..0fe1de5ee5eb347e5d414a351e2e6bc1d7ae3265 100644 (file)
@@ -1,5 +1,6 @@
+/* $OpenLDAP$ */
 /*
- * Copyright 1998-1999 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2000 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;