GString *tb;
const gchar *rcpt = NULL;
gint err_idx;
- gboolean expansion_errored = FALSE;
g_assert (ctx != NULL);
stcf = ctx->stcf;
if (elt) {
tlen += strlen (elt);
}
- else {
- expansion_errored = TRUE;
- }
break;
case 'r':
if (elt) {
tlen += strlen (elt);
}
- else {
- expansion_errored = TRUE;
- }
break;
case 'l':
if (stcf->label) {
}
- if (target == NULL || task == NULL || expansion_errored) {
- return tlen;
+ if (target == NULL || task == NULL) {
+ return -1;
}
*target = rspamd_mempool_alloc (task->task_pool, tlen + 1);
}
else {
backend->enable_users = FALSE;
+ backend->cbref_user = -1;
}
elt = ucl_object_lookup (obj, "prefix");