From 469ca96a19909010047de70a94de21e4d66d39b4 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Wed, 19 Jan 2011 18:24:42 +0100 Subject: [PATCH] Tweak TODO --- bacula/src/cats/sql_create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.39.5