From 1ba6b173316002be6b923774fe744f276ac62deb Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 10 Apr 2010 12:16:06 +0200 Subject: [PATCH] Revert "Fix typo" This reverts commit b51258092b26210c592d36b6846a3d1aa61e1e9c. --- bacula/src/cats/ingres.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/cats/ingres.c b/bacula/src/cats/ingres.c index 3553f37953..2a450427e7 100755 --- a/bacula/src/cats/ingres.c +++ b/bacula/src/cats/ingres.c @@ -554,14 +554,14 @@ int my_ingres_query(B_DB *mdb, const char *query) /* * See if we are getting a transaction start or end. */ - if (!strcasecmp(new_query, "BEGIN")) { + if (strcasecmp(new_query, "BEGIN") != NULL) { /* * Start of a transaction. */ Dmsg0(500,"my_ingres_query: Start of transaction\n"); mdb->transaction = true; return 0; - } else if (!strcasecmp(new_query, "COMMIT")) { + } else if (strcasecmp(new_query, "COMMIT") != NULL) { /* * End of a transaction. */ -- 2.39.5