]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl fix escape bug
authorEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Apr 2007 15:06:42 +0000 (15:06 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Mon, 2 Apr 2007 15:06:42 +0000 (15:06 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@4495 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/cats/postgresql.c

index 13c7b2f38b4175e79ce2c6ac805b4e4f7b724b29..756377afcf0b17c9d908d0ae829ab7159811eb7d 100644 (file)
@@ -635,8 +635,8 @@ int my_postgresql_batch_insert(JCR *jcr, B_DB *mdb, ATTR_DBR *ar)
    }
 
    len = Mmsg(mdb->cmd, "%u\t%s\t%s\t%s\t%s\t%s\n", 
-             ar->FileIndex, edit_int64(ar->JobId, ed1), mdb->path
-             mdb->fname, ar->attr, digest);
+             ar->FileIndex, edit_int64(ar->JobId, ed1), mdb->esc_name
+             mdb->esc_name2, ar->attr, digest);
 
    do { 
       res = PQputCopyData(mdb->db,