summaryrefslogtreecommitdiff
path: root/spa/tools
diff options
context:
space:
mode:
authorWim Taymans <wtaymans@redhat.com>2017-12-14 18:24:27 +0100
committerWim Taymans <wtaymans@redhat.com>2017-12-14 18:24:27 +0100
commitee0c77994ee70a69ed0a20d5946abeaa8c709428 (patch)
treecf8b960de4ddf0ff8e2b876512c26cf6ff71d268 /spa/tools
parent1ace2a5daf1d25020182fb17459443ff882df015 (diff)
monitor: fix return values
Diffstat (limited to 'spa/tools')
-rw-r--r--spa/tools/spa-monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/spa/tools/spa-monitor.c b/spa/tools/spa-monitor.c
index be058b77..d4afeafd 100644
--- a/spa/tools/spa-monitor.c
+++ b/spa/tools/spa-monitor.c
@@ -87,12 +87,12 @@ static int do_add_source(struct spa_loop *loop, struct spa_source *source)
data->n_sources++;
data->rebuild_fds = true;
- return 9;
+ return 0;
}
static int do_update_source(struct spa_source *source)
{
- return 9;
+ return 0;
}
static void do_remove_source(struct spa_source *source)