From 7431c22d97f1b42f8905950910a69bdb12600355 Mon Sep 17 00:00:00 2001 From: Michiel Broek Date: Thu, 30 Jun 2005 18:28:06 +0000 Subject: [PATCH] Possible fox for binkp sigterm on some platforms --- mbcico/binkp.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mbcico/binkp.c b/mbcico/binkp.c index 72c76558..7d7daaf3 100644 --- a/mbcico/binkp.c +++ b/mbcico/binkp.c @@ -1105,11 +1105,13 @@ TrType binkp_receiver(void) bp.rsize = atoi(strtok(NULL, " \n\r")); bp.rtime = atoi(strtok(NULL, " \n\r")); bp.roffs = atoi(strtok(NULL, " \n\r")); - sprintf(bp.ropts, "%s", strtok(NULL, " \n\r")); + Syslog('b', "Binkp: b4 critical point"); + sprintf(bp.ropts, "%s", printable(strtok(NULL, " \n\r"), 0)); if (strcmp((char *)"GZ", bp.ropts) == 0) bp.rmode = CompGZ; else if (strcmp((char *)"BZ2", bp.ropts) == 0) bp.rmode = CompBZ2; + Syslog('b', "Binkp: compress check %s", bp.ropts); } else { /* * Corrupted command, in case this was serious, send the M_GOT back so it's