• Patch: Elm ME+ 2.5 PLalpha48 -> Elm ME+ 2.5 PLalpha49 [3/9] (2/6)

    From Kari Hurtta@21:1/5 to All on Thu Jan 3 16:42:07 2019
    [continued from previous message]

    ! * The Elm (ME+) Mail System - $Revision: 2.9 $ $State: Exp $
    *
    * Author: Kari Hurtta <hurtta+elm@siilo.FMI.FI>
    * (was hurtta+elm@posti.FMI.FI, hurtta+elm@ozone.FMI.FI) ***************
    *** 251,256 ****
    --- 251,257 ----
    ret->f = NULL;
    ret->d = NULL;
    ret->state = CON_error;
    + ret->seen_badpid = 0;
    ret->a.any = NULL; /* Initilize to NULL */
    ret->port = 0; /* Default port */

    ***************
    *** 265,271 ****
    }


    ! void free_connection(c)
    struct connection_cache **c;
    {
    if (CONNECTION_CACHE_magic != (*c)->magic)
    --- 266,272 ----
    }


    ! void free_connection(c)
    struct connection_cache **c;
    {
    if (CONNECTION_CACHE_magic != (*c)->magic)
    ***************
    *** 279,291 ****
    "Bad connection type",0);

    DPRINT(Debug,10,(&Debug,
    ! "free_connection: con=%p (%s@%s), type=%p (%s)\n",
    (*c),
    (*c)->C.username ? (*c)->C.username : "<NULL>",
    (*c)->C.host ? (*c)->C.host : "<NULL>",
    (*c)->type,
    (*c)->type->type_name));

    if (CACHE_LIST)
    remove_from_cache((*c),1);

    --- 280,309 ----
    "Bad connection type",0);