From 793e74d08e09bcaae7f73cc6acff5eacbdfd5091 Mon Sep 17 00:00:00 2001 From: Eric Bollengier Date: Sun, 24 Oct 2010 17:46:35 +0200 Subject: [PATCH] Small cleanup for bvfs --- bacula/src/dird/ua_dotcmds.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); -- 2.39.5