Diff between e8799bfd2d69a5d97696f4b9f87ce0b861d9a035 and afec6e365e60d0e38f02bedd9fedacd4ee3001af

Changed Files

File Additions Deletions Status
tools/obexctl.c +1 -0 modified

Full Patch

diff --git a/tools/obexctl.c b/tools/obexctl.c
index 0491b51..2e38298 100644
--- a/tools/obexctl.c
+++ b/tools/obexctl.c
@@ -1925,6 +1925,7 @@ static void rl_handler(char *input)
 	if (!strlen(input))
 		goto done;
 
+	g_strstrip(input);
 	add_history(input);
 
 	argv = g_strsplit(input, " ", -1);