diff options
Diffstat (limited to 'src/protocol-simple.c')
-rw-r--r-- | src/protocol-simple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol-simple.c b/src/protocol-simple.c index f779a56a..3563419e 100644 --- a/src/protocol-simple.c +++ b/src/protocol-simple.c @@ -205,7 +205,7 @@ static void on_connection(struct socket_server*s, struct iochannel *io, void *us struct source *source; size_t l; - if (!(source = core_get_default_source(p->core))) { + if (!(source = source_get_default(p->core))) { fprintf(stderr, "Failed to get default source.\n"); goto fail; } @@ -224,7 +224,7 @@ static void on_connection(struct socket_server*s, struct iochannel *io, void *us struct sink *sink; size_t l; - if (!(sink = core_get_default_sink(p->core))) { + if (!(sink = sink_get_default(p->core))) { fprintf(stderr, "Failed to get default sink.\n"); goto fail; } |