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

Remove dependency upon lber-int.h by using ber_set_option().

parent 2e5a5241
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@
#include <console.h>
#endif /* MACOS */
#include "lber-int.h"
#include <lber.h>
static void usage( char *name )
{
......@@ -47,7 +47,8 @@ main( int argc, char **argv )
Sockbuf *sb;
/* enable debugging */
ber_int_debug = -1;
int ival = -1;
ber_set_option( NULL, LBER_OPT_DEBUG_LEVEL, &ival );
if ( argc < 2 ) {
usage( argv[0] );
......
......@@ -21,7 +21,7 @@
#include <console.h>
#endif /* HAVE_CONSOLE_H */
#include "lber-int.h"
#include "lber.h"
static void usage( char *name )
{
......@@ -51,7 +51,8 @@ main( int argc, char **argv )
Sockbuf *sb;
/* enable debugging */
ber_int_debug = -1;
int ival = -1;
ber_set_option( NULL, LBER_OPT_DEBUG_LEVEL, &ival );
if ( argc < 2 ) {
usage( argv[0] );
......
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