From: Eric Bollengier Date: Wed, 19 Jan 2011 17:24:42 +0000 (+0100) Subject: Tweak TODO X-Git-Tag: Release-7.0.0~1223 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=469ca96a19909010047de70a94de21e4d66d39b4;p=bacula%2Fbacula Tweak TODO --- diff --git a/bacula/src/cats/sql_create.c b/bacula/src/cats/sql_create.c index 1998aebec7..311a2d3115 100644 --- a/bacula/src/cats/sql_create.c +++ b/bacula/src/cats/sql_create.c @@ -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);