More bug fixes for NetWare.

git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@572 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
ahodgkinson
2006-06-14 19:39:30 +00:00
parent f5aa2e1a0d
commit d8d61143f7
10 changed files with 236 additions and 278 deletions

View File

@@ -774,17 +774,17 @@ FLMINT FLMAPI f_printf(
const char * pszFormat,
...)
{
#ifndef FLM_RING_ZERO_NLM
FLMINT iLen;
va_list args;
FLMINT iLen;
f_va_list args;
char szTmpBuf[ 512];
va_start(args, pszFormat);
iLen = vprintf( pszFormat, args);
va_end(args);
f_va_start( args, pszFormat);
iLen = f_vsprintf( szTmpBuf, pszFormat, &args);
f_va_end(args);
#ifndef FLM_RING_ZERO_NLM
printf( szTmpBuf);
#endif
return( iLen);
#else
F_UNREFERENCED_PARM( pszFormat);
return( 0);
#endif
}