g_free(name);
g_free(contents);
- return status;
+ return status ? SR_OK : SR_ERR;
}
/* Send N samples of the given value. */
{ "skip", "Skip", "Skip until timestamp", NULL, NULL },
{ "downsample", "Downsample", "Divide samplerate by factor", NULL, NULL },
{ "compress", "Compress", "Compress idle periods longer than this value", NULL, NULL },
- { 0 }
+ ALL_ZERO
};
static struct sr_option *get_options(void)