]> git.ipfire.org Git - thirdparty/git.git/blobdiff - sideband.c
Merge branch 'pb/ref-filter-with-crlf'
[thirdparty/git.git] / sideband.c
index 0a60662fa64b34a9b70c9c362fac02aa8c61083c..a5405b9aaa6826d8ba30a0bea812fbdc9c80bc01 100644 (file)
@@ -190,7 +190,7 @@ int demultiplex_sideband(const char *me, char *buf, int len,
                return 0;
        case 1:
                *sideband_type = SIDEBAND_PRIMARY;
-               break;
+               return 1;
        default:
                strbuf_addf(scratch, "%s%s: protocol error: bad band #%d",
                            scratch->len ? "\n" : "", me, band);