Fixed compile problems under linux.
This commit is contained in:
parent
9c8613266e
commit
12e1705227
@ -44,6 +44,8 @@
|
|||||||
//===[ Global externals ]==================================================
|
//===[ Global externals ]==================================================
|
||||||
|
|
||||||
extern int KrbMechDebugLevel;
|
extern int KrbMechDebugLevel;
|
||||||
|
extern char *pKrbMechDebugLogFilePath;
|
||||||
|
|
||||||
|
|
||||||
//===[ External prototypes ]===============================================
|
//===[ External prototypes ]===============================================
|
||||||
|
|
||||||
|
@ -61,7 +61,7 @@ char printBuff[256]; \
|
|||||||
} \
|
} \
|
||||||
}*/
|
}*/
|
||||||
#define DbgTrace(LEVEL, X, Y) { \
|
#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); \
|
openlog("CASA_Krb5Mech", LOG_CONS | LOG_NOWAIT | LOG_ODELAY, LOG_USER); \
|
||||||
syslog(LOG_USER | LOG_INFO, X, Y); \
|
syslog(LOG_USER | LOG_INFO, X, Y); \
|
||||||
|
@ -52,7 +52,6 @@
|
|||||||
// printf("Krb5Mech %s", printBuff); \
|
// printf("Krb5Mech %s", printBuff); \
|
||||||
// } \
|
// } \
|
||||||
//}
|
//}
|
||||||
extern char *pKrbMechDebugLogFilePath;
|
|
||||||
#define DbgTrace(LEVEL, X, Y) { \
|
#define DbgTrace(LEVEL, X, Y) { \
|
||||||
char formatBuff[128]; \
|
char formatBuff[128]; \
|
||||||
char printBuff[256]; \
|
char printBuff[256]; \
|
||||||
|
@ -46,6 +46,8 @@
|
|||||||
//===[ Global externals ]==================================================
|
//===[ Global externals ]==================================================
|
||||||
|
|
||||||
extern int PwdMechDebugLevel;
|
extern int PwdMechDebugLevel;
|
||||||
|
extern char *pPwdMechDebugLogFilePath;
|
||||||
|
|
||||||
|
|
||||||
//===[ External prototypes ]===============================================
|
//===[ External prototypes ]===============================================
|
||||||
|
|
||||||
|
@ -59,7 +59,7 @@ char printBuff[256]; \
|
|||||||
} \
|
} \
|
||||||
}*/
|
}*/
|
||||||
#define DbgTrace(LEVEL, X, Y) { \
|
#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); \
|
openlog("CASA_PwMech", LOG_CONS | LOG_NOWAIT | LOG_ODELAY, LOG_USER); \
|
||||||
syslog(LOG_USER | LOG_INFO, X, Y); \
|
syslog(LOG_USER | LOG_INFO, X, Y); \
|
||||||
|
@ -50,7 +50,6 @@
|
|||||||
// printf("PwdMech %s", printBuff); \
|
// printf("PwdMech %s", printBuff); \
|
||||||
// } \
|
// } \
|
||||||
//}
|
//}
|
||||||
extern char *pPwdMechDebugLogFilePath;
|
|
||||||
#define DbgTrace(LEVEL, X, Y) { \
|
#define DbgTrace(LEVEL, X, Y) { \
|
||||||
char formatBuff[128]; \
|
char formatBuff[128]; \
|
||||||
char printBuff[256]; \
|
char printBuff[256]; \
|
||||||
|
Loading…
Reference in New Issue
Block a user