]> git.sur5r.net Git - bacula/bacula/commitdiff
tweak
authorEric Bollengier <eric@eb.homelinux.org>
Tue, 27 Apr 2010 20:17:05 +0000 (22:17 +0200)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Aug 2010 14:53:45 +0000 (16:53 +0200)
bacula/src/dird/ua_output.c

index fd8a973547b2feab9d2ce269eef59ce1e579089e..44c8373663a994c5e0b325117d4ef238f87a5d35 100644 (file)
@@ -706,11 +706,11 @@ bool complete_jcr_for_job(JCR *jcr, JOB *job, POOL *pool)
    }
 
    Dmsg0(100, "complete_jcr open db\n");
-   jcr->db = jcr->db=db_init(jcr, jcr->catalog->db_driver, jcr->catalog->db_name, 
-                      jcr->catalog->db_user,
-                      jcr->catalog->db_password, jcr->catalog->db_address,
-                      jcr->catalog->db_port, jcr->catalog->db_socket,
-                      jcr->catalog->mult_db_connections);
+   jcr->db = db_init(jcr, jcr->catalog->db_driver, jcr->catalog->db_name, 
+                     jcr->catalog->db_user,
+                     jcr->catalog->db_password, jcr->catalog->db_address,
+                     jcr->catalog->db_port, jcr->catalog->db_socket,
+                     jcr->catalog->mult_db_connections);
    if (!jcr->db || !db_open_database(jcr, jcr->db)) {
       Jmsg(jcr, M_FATAL, 0, _("Could not open database \"%s\".\n"),
                  jcr->catalog->db_name);