]> git.sur5r.net Git - bacula/bacula/commitdiff
Revert "Fix typo"
authorKern Sibbald <kern@sibbald.com>
Sat, 10 Apr 2010 10:16:06 +0000 (12:16 +0200)
committerKern Sibbald <kern@sibbald.com>
Sat, 10 Apr 2010 10:16:06 +0000 (12:16 +0200)
This reverts commit b51258092b26210c592d36b6846a3d1aa61e1e9c.

bacula/src/cats/ingres.c

index 3553f37953c352a6e821a0b4d06357d75ea604d7..2a450427e791ad7331cfeab675443b485239eadb 100755 (executable)
@@ -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.
        */