Skip to content

Commit

Permalink
allow domid 0 as target
Browse files Browse the repository at this point in the history
  • Loading branch information
xaki23 committed Jun 10, 2019
1 parent 0d5d139 commit ec0c0d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pulse/pacat-simple-vchan.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit ec0c0d0

Please sign in to comment.