diff --git a/utils/qwknet/qwknetftpc.py b/utils/qwknet/qwknetftpc.py index d5bedf5..7a23dae 100644 --- a/utils/qwknet/qwknetftpc.py +++ b/utils/qwknet/qwknetftpc.py @@ -27,7 +27,7 @@ def dostuff(config_file): file.close() os.remove(repfile) print("SENT: " + config.get("Main", "Host") + ".REP") - repfile = config.get("Main", "Outbound") + "/" + config.get("Main", "Host") + ".REP." + i + repfile = config.get("Main", "Outbound") + "/" + config.get("Main", "Host") + ".REP." + str(i) i = i + 1 else: break diff --git a/utils/qwknet/qwktoss.c b/utils/qwknet/qwktoss.c index e9eb4de..c84033d 100644 --- a/utils/qwknet/qwktoss.c +++ b/utils/qwknet/qwktoss.c @@ -118,7 +118,6 @@ static char *get_key_value(struct msg_headers_t *header, char *key) { if (header == NULL) return NULL; for (int i=0;iheader_count;i++) { if (strcmp(key, header->headers[i]->key) == 0) { - fprintf(stderr, "%s\n", header->headers[i]->value); return header->headers[i]->value; } }