From efe9cc12012cb4711840cbb7aa053dd28bd2ebff Mon Sep 17 00:00:00 2001 From: kramm Date: Sun, 4 Nov 2001 18:13:45 +0000 Subject: [PATCH] display warnings if the files have no 'FWS' header --- src/combine.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/combine.c b/src/combine.c index 10b8efc..727f858 100644 --- a/src/combine.c +++ b/src/combine.c @@ -358,6 +358,9 @@ uchar * combine(uchar*masterdata, int masterlength, char*_slavename, uchar*slave logf(" the master file is flash (swf) format\n"); master_flash = 1; } + else + logf(" the master file is not flash (swf) format!\n"); + if(slavedata[2] == 'S' && slavedata[1] == 'W' && slavedata[0] == 'F') @@ -365,6 +368,8 @@ uchar * combine(uchar*masterdata, int masterlength, char*_slavename, uchar*slave logf(" the slave file is flash (swf) format\n"); slave_flash = 1; } + else + logf(" the slave file is not flash (swf) format!\n"); if(master_flash && slave_flash) { -- 1.7.10.4