X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=server-src%2Fdriverio.c;fp=server-src%2Fdriverio.c;h=c2632eb22ba2ebef7b42e91f58d062c2c559e9a4;hb=949b8910a5e23c4285d0b1aedacfc82a14dc97a5;hp=57782754606b943b9410bf5a930cc72ff9329864;hpb=c6f0a88c567f8536c498f554285aed1f8150da18;p=debian%2Famanda diff --git a/server-src/driverio.c b/server-src/driverio.c index 5778275..c2632eb 100644 --- a/server-src/driverio.c +++ b/server-src/driverio.c @@ -574,6 +574,7 @@ dumper_cmd( char *cmdline = NULL; char number[NUM_STR_SIZE]; char numberport[NUM_STR_SIZE]; + char maxwarnings[NUM_STR_SIZE]; char *o, *oo; char *device; char *features; @@ -611,6 +612,7 @@ dumper_cmd( qname = quote_string(dp->name); g_snprintf(number, SIZEOF(number), "%d", sched(dp)->level); g_snprintf(numberport, SIZEOF(numberport), "%d", dumper->output_port); + g_snprintf(maxwarnings, SIZEOF(maxwarnings), "%d", dp->max_warnings); features = am_feature_to_string(dp->host->features); if (am_has_feature(dp->host->features, fe_req_xml)) { o = xml_optionstr(dp, 1); @@ -664,6 +666,7 @@ dumper_cmd( " ", dp->auth, " ", data_path_to_string(dp->data_path), " ", dp->dataport_list, + " ", maxwarnings, " |", o, "\n", NULL); amfree(qplugin);