shadow_copy2: make shadow_copy2_find_snapdir() return const char *
commit7c14f3479dc824768ace8a470a1fd147bfc8b914
authorMichael Adam <obnox@samba.org>
Tue, 28 May 2013 15:01:20 +0000 (28 17:01 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 13 Jan 2014 09:17:21 +0000 (13 10:17 +0100)
tree0959d5e55acf6ba2bb85f9b1dd45d600c27468ca
parent1ca532a4972599778acea857c0af44c9da10fd63
shadow_copy2: make shadow_copy2_find_snapdir() return const char *

instead of char *. This eliminates compiler warnings.
snapdir is a const string in all occasions.

Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit e86923eb52633c5b6133c45678355ce69bb43a54)
source3/modules/vfs_shadow_copy2.c