summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gvfsbackendsftp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/daemon/gvfsbackendsftp.c b/daemon/gvfsbackendsftp.c
index d89c0900..3044626c 100644
--- a/daemon/gvfsbackendsftp.c
+++ b/daemon/gvfsbackendsftp.c
@@ -1021,6 +1021,7 @@ handle_login (GVfsBackend *backend,
}
buffer[len] = 0;
+ g_strchug (buffer);
DEBUG ("handle_login #%d - prompt: \"%s\"\n", i, buffer);