src/imap/imap.c
/*
 * Returns NULL in case an error has occurred.
 *
 * When successful a the slist is returned and imap->slist is set to NULL.
 *
 * This can be used when being sure this is the only time you need the list
 * and prevents making a copy.
 */
Returns NULL in case an error has occurred.
When successful a the slist is returned and imap->slist is set to NULL.

This can be used when being sure this is the only time you need the list
and prevents making a copy.
Returns NULL in case an error has occurred . When successful a the slist is returned and imap - > slist is set to NULL . This can be used when being sure this is the only time you need the list and prevents making a copy .
slist_t * imap_slist_pop(imap_t * imap)
{
    slist_t * slist = imap_slist(imap);
    imap->slist = NULL;
    return slist;
}
slist_t * imap_slist_pop ( imap_t * imap ) { slist_t * slist = imap_slist ( imap ) ; imap -> slist = NULL ; return slist ; }
Returns NULL in case an error has occurred.
Returns NULL in case an error has occurred .