]> git.sur5r.net Git - openldap/commitdiff
Remove LDAP_LIBUI dependency.
authorKurt Zeilenga <kurt@openldap.org>
Tue, 1 Jun 1999 02:03:21 +0000 (02:03 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 1 Jun 1999 02:03:21 +0000 (02:03 +0000)
libraries/liblber/dtest.c
libraries/liblber/etest.c

index 3422873892aac41770776186e2feaa17afd9d853..e602315634d959b22dfbcbadc4ef6f40bf375c8d 100644 (file)
@@ -26,7 +26,7 @@
 
 #ifdef HAVE_CONSOLE_H
 #include <console.h>
-#endif /* MACOS */
+#endif
 
 #include <lber.h>
 
@@ -58,7 +58,7 @@ main( int argc, char **argv )
 #ifdef HAVE_CONSOLE_H
        ccommand( &argv );
        cshow( stdout );
-#endif /* MACOS */
+#endif
 
        sb = ber_sockbuf_alloc_fd( fileno(stdin) );
 
index cb532f440255b786187962698d68962f189ddb2f..c0b2f40ce16da6a9f2c64cd336f9c4d184e19ae2 100644 (file)
@@ -71,7 +71,7 @@ main( int argc, char **argv )
 
 #else
        fd = fileno(stdout);
-#endif /* MACOS */
+#endif
 
        sb = ber_sockbuf_alloc_fd( fd );
 
@@ -128,9 +128,7 @@ main( int argc, char **argv )
                        break;
 
                default:
-#ifdef LDAP_LIBUI
-                       fprintf( stderr, "unknown fmt %c\n", *fmt );
-#endif /* LDAP_LIBUI */
+                       fprintf( stderr, "encode: unknown fmt %c\n", *fmt );
                        rc = -1;
                        break;
                }