From: Kern Sibbald Date: Sat, 10 Apr 2010 10:16:06 +0000 (+0200) Subject: Revert "Fix typo" X-Git-Tag: Release-5.0.2~63 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ba6b173316002be6b923774fe744f276ac62deb;p=bacula%2Fbacula Revert "Fix typo" This reverts commit b51258092b26210c592d36b6846a3d1aa61e1e9c. --- 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. */