Martijn van Duren wrote:
> Since I saw another commit to src in regards to boolean flags, I thought
> I'd give this one another ping.
Thanks. One change.
> > Index: log.c
> > ===================================================================
> > RCS file: /cvs/src/usr.sbin/snmpd/log.c,v
> > retrieving revision 1.5
> > diff -u -p -u -r1.5 log.c
> > --- log.c 25 Oct 2014 03:23:49 -0000 1.5
> > +++ log.c 10 Jan 2015 07:36:53 -0000
> > @@ -53,7 +53,6 @@ log_init(int n_debug)
> > extern char *__progname;
> >
> > debug = n_debug;
> > - verbose = n_debug;
> >
> > if (!debug)
> > openlog(__progname, LOG_PID | LOG_NDELAY, LOG_DAEMON);
I think we still want to increase verbose level with debug, so I made that
if (debug && !verbose)
verbose = 1;
This allows multiple -v to still increase verbose, too.