Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 766195
Collapse All | Expand All

(-)/var/tmp/portage/app-backup/bacula-9.6.7/work/bacula-9.6.7/src/dird/dird.c.orig (-1 / +1 lines)
Lines 1263-1273 Link Here
1263
         }
1263
         }
1264
         if (catalog->db_driver) {
1264
         if (catalog->db_driver) {
1265
           /* To copy dbdriver field into "CAT" catalog resource class (local)
1265
           /* To copy dbdriver field into "CAT" catalog resource class (local)
1266
            * from dbdriver in "BDB" catalog DB Interface class (global)
1266
            * from dbdriver in "BDB" catalog DB Interface class (global)
1267
            */
1267
            */
1268
            bstrncpy(catalog->db_driver, BDB_db_driver, db_driver_len);
1268
            bstrncpy(catalog->db_driver, BDB_db_driver, db_driver_len+1);
1269
         }
1269
         }
1270
      }
1270
      }
1271
1271
1272
      if (!db || !db_open_database(NULL, db)) {
1272
      if (!db || !db_open_database(NULL, db)) {
1273
         Pmsg2(000, _("Could not open Catalog \"%s\", database \"%s\".\n"),
1273
         Pmsg2(000, _("Could not open Catalog \"%s\", database \"%s\".\n"),

Return to bug 766195