From 6b84f75a6069cfd318b6aa09448a453bcbe21da9 Mon Sep 17 00:00:00 2001 From: Sergey Dorofeev Date: Tue, 4 Jun 2013 20:31:52 +0400 Subject: [PATCH] flush --- source/bforce/prot_binkp.c | 2 +- source/bforce/prot_common.c | 2 +- source/bforce/prot_zmrecv.c | 1 + source/bforce/sess_call.c | 4 ++-- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/source/bforce/prot_binkp.c b/source/bforce/prot_binkp.c index a75adb8..bc2f257 100644 --- a/source/bforce/prot_binkp.c +++ b/source/bforce/prot_binkp.c @@ -977,7 +977,7 @@ case BPMSG_GET: /* Get a file from offset */ if( bstate->pi->send ) { DEB((D_24554, "aborting current file")); - p_tx_fclose(bstate->pi); + //p_tx_fclose(bstate->pi); may be requested again } s_filehint hint; diff --git a/source/bforce/prot_common.c b/source/bforce/prot_common.c index 6a1969f..7e75140 100644 --- a/source/bforce/prot_common.c +++ b/source/bforce/prot_common.c @@ -627,7 +627,7 @@ long int p_tx_readfile(char *buffer, size_t buflen, s_protinfo *pi) pi->send->bytes_received = ftell_pos; return -1; } - + if( stat(pi->send->fname, &st) == -1 && errno == ENOENT ) { log("send: file not found! do you want to skip it?"); diff --git a/source/bforce/prot_zmrecv.c b/source/bforce/prot_zmrecv.c index d9cd864..65dde29 100644 --- a/source/bforce/prot_zmrecv.c +++ b/source/bforce/prot_zmrecv.c @@ -85,6 +85,7 @@ int rx_zmodem(s_protinfo *pi, bool caller) while(1) { + DEB((D_PROT, "rx_zmodem: one more loop")); if( timer_expired(deadtimer) ) { DEB((D_PROT, "rx_zmodem: deadtimer = %ld", (long)deadtimer)); diff --git a/source/bforce/sess_call.c b/source/bforce/sess_call.c index ed0a307..b2e897f 100644 --- a/source/bforce/sess_call.c +++ b/source/bforce/sess_call.c @@ -376,7 +376,7 @@ int call_system_modem(void) else log("warning: no modem dial suffix defined"); - log("calling %s (%s, %s)", + log("calling with modem %s (%s, %s)", ftn_addrstr(abuf, state.node.addr), (state.node.name && *state.node.name) ? state.node.name : "", string_printable(dialstring)); @@ -516,7 +516,7 @@ defalt: return BFERR_FATALERROR; } - log("calling %s (%s, %s)", + log("calling with internet %s (%s, %s)", ftn_addrstr(abuf, state.node.addr), (state.node.name && *state.node.name ) ? state.node.name : "", (state.node.host && *state.node.host) ? state.node.host : "");