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/runtime/nsd_ptcp.c
static rsRetVal SetMode(nsd_t __attribute__((unused)) * pNsd, int mode)
{
    DEFiRet;
    if (mode != 0)
    {
        LogError(0, RS_RET_INVALID_DRVR_MODE,
                 "error: driver mode %d not supported by "
                 "ptcp netstream driver",
                 mode);
        ABORT_FINALIZE(RS_RET_INVALID_DRVR_MODE);
    }
finalize_it:
    RETiRet;
}
/* Set the driver mode. We support no different modes, but allow mode
 * 0 to be set to be compatible with config file defaults and the other
 * drivers.
 * rgerhards, 2008-04-28
 */
Set the driver mode. We support no different modes, but allow mode
0 to be set to be compatible with config file defaults and the other
drivers.
Set the driver mode . We support no different modes but allow mode 0 to be set to be compatible with config file defaults and the other drivers .
static rsRetVal SetMode(nsd_t __attribute__((unused)) * pNsd, int mode)
{
    DEFiRet;
    if (mode != 0)
    {
        LogError(0, RS_RET_INVALID_DRVR_MODE,
                 "error: driver mode %d not supported by "
                 "ptcp netstream driver",
                 mode);
        ABORT_FINALIZE(RS_RET_INVALID_DRVR_MODE);
    }
finalize_it:
    RETiRet;
}
static rsRetVal SetMode ( nsd_t __attribute__ ( ( unused ) ) * pNsd , int mode ) { DEFiRet ; if ( mode != 0 ) { LogError ( 0 , RS_RET_INVALID_DRVR_MODE , " " " " , mode ) ; ABORT_FINALIZE ( RS_RET_INVALID_DRVR_MODE ) ; } finalize_it : RETiRet ; }
Set the driver mode.
Set the driver mode .