From: Kern Sibbald Date: Fri, 24 Aug 2007 16:24:59 +0000 (+0000) Subject: Fix typo in split_path ... X-Git-Tag: Release-7.0.0~5791 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=20280918a2b446ebde6ed79a2d59b44b954a2f91;p=bacula%2Fbacula Fix typo in split_path ... git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5402 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/bacula/src/dird/ua_restore.c b/bacula/src/dird/ua_restore.c index cedea941e5..0320456e86 100644 --- a/bacula/src/dird/ua_restore.c +++ b/bacula/src/dird/ua_restore.c @@ -977,7 +977,7 @@ static void split_path_and_filename(RESTORE_CTX *rx, char *name) rx->pnl = f - name; if (rx->pnl > 0) { rx->path = check_pool_memory_size(rx->path, 2*(rx->pnl)+1); - db_escape_string(rx-path, name, rx->pnl); + db_escape_string(rx->path, name, rx->pnl); } else { rx->path[0] = 0; rx->pnl = 0;