--- embedtools/src/direr.c 2010/07/13 15:17:58 1.1.2.2 +++ embedtools/src/direr.c 2010/09/20 23:07:11 1.1.2.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: direr.c,v 1.1.2.2 2010/07/13 15:17:58 misho Exp $ + * $Id: direr.c,v 1.1.2.3 2010/09/20 23:07:11 misho Exp $ * *************************************************************************/ #include "global.h" @@ -67,7 +67,7 @@ main(int argc, char **argv) if (mode & 1 && *str[1]) { ret |= !strcmp((char*) str[0], (char*) str[1]) << 1; - printf("Result checksum:: %s %s %s\n\n", str[0], ret & 1 ? "==" : "!=", str[1]); + printf("Result checksum:: %s %s %s\n\n", str[0], ret & 2 ? "==" : "!=", str[1]); free(str[1]); } @@ -86,7 +86,7 @@ main(int argc, char **argv) printf("2.Directory '%s': %s\n", szCmp, str[1]); ret |= (!strcmp((char*) str[0], (char*) str[1]) << 2); - printf("Result directory:: %s %s %s\n\n", argv[0], ret & 2 ? "==" : "!=", szCmp); + printf("Result directory:: %s %s %s\n\n", argv[0], ret & 4 ? "==" : "!=", szCmp); if (str[1]) free(str[1]);