**domain = '\0'; *domain = safe_strdup (*domain + 1); *user = scratch;
*user = safe_malloc((p - mbx + 1) * sizeof(mbx[0])); strfcpy (*user, mbx, (p - mbx + 1)); *domain = safe_strdup(p + 1);
static int mbox_to_udomain (const char *mbx, char **user, char **domain){  char *scratch = safe_strdup (mbx);  *user = NULL;  *domain = NULL;    if ((*domain = strchr (scratch, '@')) == NULL)    return -1;    **domain = '\0';  *domain = safe_strdup (*domain + 1);  *user = scratch;  return 0;}