never been set.
+2005-08-16 Erez Zadok <ezk@cs.sunysb.edu>
+
+ * amd/get_args.c (get_args): initialize debug_flags if they've
+ never been set.
+
2005-08-15 Erez Zadok <ezk@cs.sunysb.edu>
* amd/mapc.c (mapc_create): mapc find takes 4th arg, the mount
#ifdef DEBUG
usage += switch_option("debug");
+ /* initialize debug options */
+ if (!debug_flags)
+ debug_flags = D_CONTROL; /* CONTROL = "daemon,amq,fork" */
#endif /* DEBUG */
/* log information regarding amd.conf file */
serv_state amd_state; /* amd's state */
int foreground = 1; /* 1 == this is the top-level server */
#ifdef DEBUG
-u_int debug_flags = 0;
+u_int debug_flags = 0; /* 0 == uninitialized (get_args will init) */
#else /* not DEBUG */
u_int debug_flags = D_CONTROL; /* default when not compiled with debugging */
#endif /* not DEBUG */