From: Marco van Wieringen Date: Mon, 5 Apr 2010 14:28:09 +0000 (+0200) Subject: Fix typo X-Git-Tag: Release-5.0.2~100 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b51258092b26210c592d36b6846a3d1aa61e1e9c;p=bacula%2Fbacula Fix typo --- diff --git a/bacula/src/cats/ingres.c b/bacula/src/cats/ingres.c index 2a450427e7..3553f37953 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") != NULL) { + if (!strcasecmp(new_query, "BEGIN")) { /* * Start of a transaction. */ Dmsg0(500,"my_ingres_query: Start of transaction\n"); mdb->transaction = true; return 0; - } else if (strcasecmp(new_query, "COMMIT") != NULL) { + } else if (!strcasecmp(new_query, "COMMIT")) { /* * End of a transaction. */