summaryrefslogtreecommitdiff
path: root/ssh-bleach.c
diff options
context:
space:
mode:
Diffstat (limited to 'ssh-bleach.c')
-rw-r--r--ssh-bleach.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ssh-bleach.c b/ssh-bleach.c
index 4b3c3b3..00ea33f 100644
--- a/ssh-bleach.c
+++ b/ssh-bleach.c
@@ -61,7 +61,7 @@ char *get_quoted_arg (char *line)
int git_receive_pack (char *line) {
char *arg = get_quoted_arg (line);
if (! arg)
- return 0;
+ return -1;
if (verbose)
printf ("git-receive-pack '%s'\n", arg);
@@ -74,7 +74,7 @@ int git_receive_pack (char *line) {
int git_upload_pack (char *line) {
char *arg = get_quoted_arg (line);
if (! arg)
- return 0;
+ return -1;
if (verbose)
printf ("git-upload-pack '%s'\n", arg);