From 8fe62076b5fecd27d7837584e1fe4078fd206373 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Sun, 16 Jun 2002 18:34:59 +0000 Subject: [PATCH] Updates for binkp --- mbcico/binkp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mbcico/binkp.c b/mbcico/binkp.c index d2f65d90..199f28f4 100644 --- a/mbcico/binkp.c +++ b/mbcico/binkp.c @@ -920,7 +920,7 @@ int binkp_batch(file_list *to_send) tcrc = file_crc(tmp->local, FALSE); else tcrc = 0; - Syslog('b', "File CRC is %lx", tcrc); + Syslog('b', "File CRC is %lx %ld", tcrc, tcrc); txfp = fopen(tmp->local, "r"); if (txfp == NULL) { @@ -945,9 +945,9 @@ int binkp_batch(file_list *to_send) txpos = stxpos = tmp->offset; Syslog('+', "Binkp: send \"%s\" as \"%s\"", MBSE_SS(tmp->local), MBSE_SS(tmp->remote)); if (CRCflag && tcrc) { - Syslog('+', "Binkp: size %lu bytes, dated %s, crc %lx", (unsigned long)tmp->size, date(tmp->date), tcrc +5); + Syslog('+', "Binkp: size %lu bytes, dated %s, crc %lx", (unsigned long)tmp->size, date(tmp->date), tcrc); binkp_send_control(MM_FILE, "%s %lu %ld %ld %lx", MBSE_SS(tmp->remote), - (unsigned long)tmp->size, (long)tmp->date, (unsigned long)tmp->offset), tcrc; + (unsigned long)tmp->size, (long)tmp->date, (unsigned long)tmp->offset, tcrc); } else { Syslog('+', "Binkp: size %lu bytes, dated %s", (unsigned long)tmp->size, date(tmp->date)); binkp_send_control(MM_FILE, "%s %lu %ld %ld", MBSE_SS(tmp->remote),