]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix typo in split_path ...
authorKern Sibbald <kern@sibbald.com>
Fri, 24 Aug 2007 16:24:59 +0000 (16:24 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 24 Aug 2007 16:24:59 +0000 (16:24 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5402 91ce42f0-d328-0410-95d8-f526ca767f89

bacula/src/dird/ua_restore.c

index cedea941e55aaac876101c4ef7163c8eae336766..0320456e868db1d313cd9185d342ed18b1c360cc 100644 (file)
@@ -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;