From: FrancoisGrondin Date: Tue, 31 Oct 2017 15:08:14 +0000 (-0400) Subject: Potential sources can be printed to the terminal. X-Git-Url: http://kyz.pub/gitweb/?a=commitdiff_plain;h=74881ef35a73506e0fdca821d11a7d20d32d325b;p=yn%2Fyn-odas.git Potential sources can be printed to the terminal. --- diff --git a/src/sink/snk_pots.c b/src/sink/snk_pots.c index b6b9885..a7ac5df 100644 --- a/src/sink/snk_pots.c +++ b/src/sink/snk_pots.c @@ -18,7 +18,8 @@ if (!(((obj->interface->type == interface_blackhole) && (obj->format->type == format_undefined)) || ((obj->interface->type == interface_file) && (obj->format->type == format_binary_float)) || ((obj->interface->type == interface_file) && (obj->format->type == format_text_json)) || - ((obj->interface->type == interface_socket) && (obj->format->type == format_text_json)))) { + ((obj->interface->type == interface_socket) && (obj->format->type == format_text_json)) || + ((obj->interface->type == interface_terminal) && (obj->format->type == format_text_json)))) { printf("Sink pots: Invalid interface and/or format.\n"); exit(EXIT_FAILURE);