From eb8561e302bd83305fb093eb8cca42b4f9f62b22 Mon Sep 17 00:00:00 2001 From: Pranith Kumar K Date: Tue, 21 Sep 2010 10:49:49 +0000 Subject: cli: remove trailing slashes from brick paths Signed-off-by: Pranith Kumar K Signed-off-by: Vijay Bellur BUG: 1659 () URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=1659 --- cli/src/cli.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli/src/cli.h') diff --git a/cli/src/cli.h b/cli/src/cli.h index 44f653685..b8aa985b8 100644 --- a/cli/src/cli.h +++ b/cli/src/cli.h @@ -207,4 +207,6 @@ cli_cmd_broadcast_connected (); int cli_rpc_notify (struct rpc_clnt *rpc, void *mydata, rpc_clnt_event_t event, void *data); +void +cli_path_strip_trailing_slashes (char *path); #endif /* __CLI_H__ */ -- cgit