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/modules.c
static rsRetVal SetModDir(uchar* pszModDir)
{
    DEFiRet;

    dbgprintf("setting default module load directory '%s'\n", pszModDir);
    if (pModDir != NULL)
    {
        free(pModDir);
    }

    pModDir = (uchar*)strdup((char*)pszModDir);

    RETiRet;
}
/* set the default module load directory. A NULL value may be provided, in
 * which case any previous value is deleted but no new one set. The
 * caller-provided string is duplicated. If it needs to be freed, that's the
 * caller's duty. rgerhards, 2008-03-07
 */
set the default module load directory. A NULL value may be provided, in
which case any previous value is deleted but no new one set. The
caller-provided string is duplicated. If it needs to be freed, that's the
caller's duty.
set the default module load directory . A NULL value may be provided in which case any previous value is deleted but no new one set . The caller - provided string is duplicated . If it needs to be freed that ' s the caller ' s duty .
static rsRetVal SetModDir(uchar* pszModDir)
{
    DEFiRet;
    dbgprintf("setting default module load directory '%s'\n", pszModDir);
    if (pModDir != NULL)
    {
        free(pModDir);
    }
    pModDir = (uchar*)strdup((char*)pszModDir);
    RETiRet;
}
static rsRetVal SetModDir ( uchar * pszModDir ) { DEFiRet ; dbgprintf ( " \n " , pszModDir ) ; if ( pModDir != NULL ) { free ( pModDir ) ; } pModDir = ( uchar * ) strdup ( ( char * ) pszModDir ) ; RETiRet ; }
set the default module load directory.
set the default module load directory .