notify filter

This commit is contained in:
Olof Hagsand 2016-05-22 17:37:28 +02:00
parent c3157690b9
commit eaaf1b83e8
3 changed files with 19 additions and 10 deletions

View file

@ -65,12 +65,13 @@
*/
static struct client_subscription *
client_subscription_add(struct client_entry *ce,
char *stream,
enum format_enum format,
char *filter)
char *stream,
enum format_enum format,
char *filter)
{
struct client_subscription *su = NULL;
clicon_debug(1, "%s stream:%s filter:%s", __FUNCTION__, stream, filter);
if ((su = malloc(sizeof(*su))) == NULL){
clicon_err(OE_PLUGIN, errno, "malloc");
goto done;