From e211741ee583b00b53eff4968c683c6563dcaec0 Mon Sep 17 00:00:00 2001 From: xaki23 Date: Mon, 10 Jun 2019 15:51:53 +0200 Subject: [PATCH] allow domid 0 as target (cherry picked from commit ec0c0d032a1f41d383ec39f787d9501546555a8f) --- pulse/pacat-simple-vchan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pulse/pacat-simple-vchan.c b/pulse/pacat-simple-vchan.c index 7c4f0187..8054c227 100644 --- a/pulse/pacat-simple-vchan.c +++ b/pulse/pacat-simple-vchan.c @@ -613,7 +613,7 @@ int main(int argc, char *argv[]) domname = argv[i]; } } - if (domid <= 0) { /* not-a-number returns 0 */ + if (domid < 0) { /* not-a-number returns 0 */ fprintf(stderr, "invalid domid\n"); exit(1); }