]> git.sur5r.net Git - bacula/bacula/commitdiff
Tweak TODO
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 19 Jan 2011 17:24:42 +0000 (18:24 +0100)
committerKern Sibbald <kern@sibbald.com>
Sat, 20 Apr 2013 12:39:51 +0000 (14:39 +0200)
bacula/src/cats/sql_create.c

index 1998aebec74814f00270b3d6aee166e7cb231dd4..311a2d311527a75d7162baa1253f069ee1c63c8a 100644 (file)
@@ -83,7 +83,7 @@ db_create_job_record(JCR *jcr, B_DB *mdb, JOB_DBR *jr)
    strftime(dt, sizeof(dt), "%Y-%m-%d %H:%M:%S", &tm);
    JobTDate = (utime_t)stime;
 
-   len = strlen(jcr->comment);
+   len = strlen(jcr->comment);  /* TODO: use jr instead of jcr to get comment */
    buf.check_size(len*2+1);
    db_escape_string(jcr, mdb, buf.c_str(), jcr->comment, len);