Skip to content
Snippets Groups Projects
Commit 60d9aeed authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Remove LDAP_LIBUI dependency.

parent 68e64e76
No related branches found
No related tags found
No related merge requests found
......@@ -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) );
......
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment