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/msg.c
void MsgSetInputName(smsg_t * pThis, prop_t * inputName)
    {
        assert(pThis != NULL);

        prop.AddRef(inputName);
        if (pThis->pInputName != NULL)
            prop.Destruct(&pThis->pInputName);
        pThis->pInputName = inputName;
    }
/* rgerhards 2008-09-10: set pszInputName in msg object. This calls AddRef()
     * on the property, because this must be done in all current cases and there
     * is no case expected where this may not be necessary.
     * rgerhards, 2009-06-16
     */
rgerhards 2008-09-10: set pszInputName in msg object. This calls AddRef()
on the property, because this must be done in all current cases and there
is no case expected where this may not be necessary.
rgerhards 2008 - 09 - 10 : set pszInputName in msg object . This calls AddRef () on the property because this must be done in all current cases and there is no case expected where this may not be necessary .
void MsgSetInputName(smsg_t * pThis, prop_t * inputName)
    {
        assert(pThis != NULL);
        prop.AddRef(inputName);
        if (pThis->pInputName != NULL)
            prop.Destruct(&pThis->pInputName);
        pThis->pInputName = inputName;
    }
void MsgSetInputName ( smsg_t * pThis , prop_t * inputName ) { assert ( pThis != NULL ) ; prop . AddRef ( inputName ) ; if ( pThis -> pInputName != NULL ) prop . Destruct ( & pThis -> pInputName ) ; pThis -> pInputName = inputName ; }
rgerhards 2008-09-10: set pszInputName in msg object.
rgerhards 2008 - 09 - 10 : set pszInputName in msg object .