summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--open-terminal/caja-open-terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/open-terminal/caja-open-terminal.c b/open-terminal/caja-open-terminal.c
index 1c9e612..cd320c4 100644
--- a/open-terminal/caja-open-terminal.c
+++ b/open-terminal/caja-open-terminal.c
@@ -197,7 +197,7 @@ parse_sftp_uri (GFile *file, char **host, guint *port, char **user,
s = strchr(h, ':');
if (s && (p == NULL || s < p)) {
- h_end = s-1;
+ h_end = s;
*s = '\0';
s++;
} else {