openbmc/build/tmp/deploy/sdk/witherspoon-2019-08-08/sysroots/armv6-openbmc-linux-gnueabi/usr/src/debug/rsyslog/8.1903.0-r0/rsyslog-8.1903.0/tools/omfwd.c
static void DestructTCPInstanceData(wrkrInstanceData_t* pWrkrData)
{
    doZipFinish(pWrkrData);
    if (pWrkrData->pNetstrm != NULL)
        netstrm.Destruct(&pWrkrData->pNetstrm);
    if (pWrkrData->pNS != NULL)
        netstrms.Destruct(&pWrkrData->pNS);
}
/* destruct the TCP helper objects
 * This, for example, is needed after something went wrong.
 * This function is void because it "can not" fail.
 * rgerhards, 2008-06-04
 * Note that we DO NOT discard the current buffer contents
 * (if any). This permits us to save data between sessions. In
 * the worst case, some duplication occurs, but we do not
 * loose data.
 */
destruct the TCP helper objects
This, for example, is needed after something went wrong.
This function is void because it "can not" fail.
rgerhards, 2008-06-04
Note that we DO NOT discard the current buffer contents
(if any). This permits us to save data between sessions. In
the worst case, some duplication occurs, but we do not
loose data.
destruct the TCP helper objects This for example is needed after something went wrong . This function is void because it " can not " fail . rgerhards 2008 - 06 - 04 Note that we DO NOT discard the current buffer contents ( if any ) . This permits us to save data between sessions . In the worst case some duplication occurs but we do not loose data .
static void DestructTCPInstanceData(wrkrInstanceData_t* pWrkrData)
{
    doZipFinish(pWrkrData);
    if (pWrkrData->pNetstrm != NULL)
        netstrm.Destruct(&pWrkrData->pNetstrm);
    if (pWrkrData->pNS != NULL)
        netstrms.Destruct(&pWrkrData->pNS);
}
static void DestructTCPInstanceData ( wrkrInstanceData_t * pWrkrData ) { doZipFinish ( pWrkrData ) ; if ( pWrkrData -> pNetstrm != NULL ) netstrm . Destruct ( & pWrkrData -> pNetstrm ) ; if ( pWrkrData -> pNS != NULL ) netstrms . Destruct ( & pWrkrData -> pNS ) ; }
destruct the TCP helper objects
 This, for example, is needed after something went wrong.
destruct the TCP helper objects This for example is needed after something went wrong .