From: Eric Bollengier Date: Sun, 24 Oct 2010 15:46:35 +0000 (+0200) Subject: Small cleanup for bvfs X-Git-Tag: Release-5.2.1~967 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=362ecf787c5868220598baac729282ac20c8cf8a;p=bacula%2Fbacula Small cleanup for bvfs --- diff --git a/bacula/src/dird/ua_dotcmds.c b/bacula/src/dird/ua_dotcmds.c index c7fd97dead..1677435338 100644 --- a/bacula/src/dird/ua_dotcmds.c +++ b/bacula/src/dird/ua_dotcmds.c @@ -181,9 +181,7 @@ static bool dot_bvfs_update(UAContext *ua, const char *cmd) int pos = find_arg_with_value(ua, "jobid"); if (pos != -1 && is_a_number_list(ua->argv[pos])) { - POOL_MEM jobids; - pm_strcpy(jobids, ua->argv[pos]); - bvfs_update_path_hierarchy_cache(ua->jcr, ua->db, jobids.c_str()); + bvfs_update_path_hierarchy_cache(ua->jcr, ua->db, ua->argv[pos]); } else { /* update cache for all jobids */ bvfs_update_cache(ua->jcr, ua->db);