epggrab_channel_t *ec;
static epggrab_channel_t *skel = NULL;
if (!skel) skel = calloc(1, sizeof(epggrab_channel_t));
- skel->id = strdupa(id);
+ skel->id = tvh_strdupa(id);
/* Replace / with # */
// Note: this is a bit of a nasty fix for #1774, but will do for now
case PT_STR:
{
int r;
- const char *stra = strdupa(idnode_get_str(ina, sort->key) ?: "");
+ const char *stra = tvh_strdupa(idnode_get_str(ina, sort->key) ?: "");
const char *strb = idnode_get_str(inb, sort->key);
if (sort->dir == IS_ASC)
r = strcmp(stra ?: "", strb ?: "");
{
int pos, save = 0;
char dir;
- char *tmp = strdupa(s);
+ char *tmp = tvh_strdupa(s);
linuxdvb_mux_t *lm = o;
dir = tmp[strlen(tmp)-1];