Fixed compile problems under linux.

This commit is contained in:
Juan Carlos Luciani 2007-03-05 15:46:16 +00:00
parent 9c8613266e
commit 12e1705227
6 changed files with 6 additions and 4 deletions

View File

@ -44,6 +44,8 @@
//===[ Global externals ]==================================================
extern int KrbMechDebugLevel;
extern char *pKrbMechDebugLogFilePath;
//===[ External prototypes ]===============================================

View File

@ -61,7 +61,7 @@ char printBuff[256]; \
} \
}*/
#define DbgTrace(LEVEL, X, Y) { \
if (LEVEL == 0 || DebugLevel >= LEVEL) \
if (LEVEL == 0 || KrbMechDebugLevel >= LEVEL) \
{ \
openlog("CASA_Krb5Mech", LOG_CONS | LOG_NOWAIT | LOG_ODELAY, LOG_USER); \
syslog(LOG_USER | LOG_INFO, X, Y); \

View File

@ -52,7 +52,6 @@
// printf("Krb5Mech %s", printBuff); \
// } \
//}
extern char *pKrbMechDebugLogFilePath;
#define DbgTrace(LEVEL, X, Y) { \
char formatBuff[128]; \
char printBuff[256]; \

View File

@ -46,6 +46,8 @@
//===[ Global externals ]==================================================
extern int PwdMechDebugLevel;
extern char *pPwdMechDebugLogFilePath;
//===[ External prototypes ]===============================================

View File

@ -59,7 +59,7 @@ char printBuff[256]; \
} \
}*/
#define DbgTrace(LEVEL, X, Y) { \
if (LEVEL == 0 || DebugLevel >= LEVEL) \
if (LEVEL == 0 || PwdMechDebugLevel >= LEVEL) \
{ \
openlog("CASA_PwMech", LOG_CONS | LOG_NOWAIT | LOG_ODELAY, LOG_USER); \
syslog(LOG_USER | LOG_INFO, X, Y); \

View File

@ -50,7 +50,6 @@
// printf("PwdMech %s", printBuff); \
// } \
//}
extern char *pPwdMechDebugLogFilePath;
#define DbgTrace(LEVEL, X, Y) { \
char formatBuff[128]; \
char printBuff[256]; \