From: Eric Bollengier Date: Sun, 24 Oct 2010 15:46:35 +0000 (+0200) Subject: Small cleanup for bvfs X-Git-Tag: Release-7.0.0~1432 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=793e74d08e09bcaae7f73cc6acff5eacbdfd5091;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);