diff options
author | Wayne Davison <wayned@samba.org> | 2008-02-15 22:19:43 -0800 |
---|---|---|
committer | Wayne Davison <wayned@samba.org> | 2008-02-15 22:19:43 -0800 |
commit | beef86d0dda124ca59005846049cf7d60efb69c7 (patch) | |
tree | 308b06fac0bf22049be4d642c826a79955a58933 /util.c | |
parent | 2fe1feea751bdb73797169402cd79fb25ace420c (diff) | |
download | rsync-beef86d0dda124ca59005846049cf7d60efb69c7.tar.gz rsync-beef86d0dda124ca59005846049cf7d60efb69c7.tar.bz2 rsync-beef86d0dda124ca59005846049cf7d60efb69c7.zip |
A few minor changes, including better push_dir()/pop_dir() verbosity.
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -895,8 +895,8 @@ int push_dir(const char *dir, int set_path_only) curr_dir_depth = count_dir_elements(curr_dir + module_dirlen); } - if (verbose >= 5) - rprintf(FINFO, "[%s] dir is now %s\n", who_am_i(), curr_dir); + if (verbose >= 5 && !set_path_only) + rprintf(FINFO, "[%s] push_dir(%s)\n", who_am_i(), curr_dir); return 1; } @@ -916,6 +916,9 @@ int pop_dir(const char *dir) if (sanitize_paths) curr_dir_depth = count_dir_elements(curr_dir + module_dirlen); + if (verbose >= 5) + rprintf(FINFO, "[%s] pop_dir(%s)\n", who_am_i(), curr_dir); + return 1; } |