src/dird/ua_cmds.c
static int trace_cmd(UAContext *ua, const char *cmd)
{
   char *onoff;

   if (ua->argc != 2) {
      if (!get_cmd(ua, _("Turn on or off? "))) {
         return 1;
      }
      onoff = ua->cmd;
   } else {
      onoff = ua->argk[1];
   }

   set_trace((strcasecmp(onoff, NT_("off")) == 0) ? false : true);
   return 1;
}
/*
 * Turn debug tracing to file on/off
 */
Turn debug tracing to file on/off
Turn debug tracing to file on / off
static int trace_cmd(UAContext *ua, const char *cmd)
{
   char *onoff;
   if (ua->argc != 2) {
      if (!get_cmd(ua, _("Turn on or off? "))) {
         return 1;
      }
      onoff = ua->cmd;
   } else {
      onoff = ua->argk[1];
   }
   set_trace((strcasecmp(onoff, NT_("off")) == 0) ? false : true);
   return 1;
}
static int trace_cmd ( UAContext * ua , const char * cmd ) { char * onoff ; if ( ua -> argc != 2 ) { if ( ! get_cmd ( ua , _ ( " " ) ) ) { return 1 ; } onoff = ua -> cmd ; } else { onoff = ua -> argk [ 1 ] ; } set_trace ( ( strcasecmp ( onoff , NT_ ( " " ) ) == 0 ) ? false : true ) ; return 1 ; }
Turn debug tracing to file on/off
Turn debug tracing to file on / off