From: Eric Bollengier Date: Wed, 19 Jan 2011 17:24:42 +0000 (+0100) Subject: Tweak TODO X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=12cc2ac05a86069d3c071d0a3e73355359878a65;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);