From ddd20f64dd6245dc62ba61dba47a61a5440c4a9c Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 24 Jun 2005 15:13:25 +0000 Subject: r7879: fix compile issue caused by not statoc value for intializing cpp macros --- source/client/smbspool.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/client/smbspool.c b/source/client/smbspool.c index 1efdc12a1bc..04f293a8e63 100644 --- a/source/client/smbspool.c +++ b/source/client/smbspool.c @@ -29,9 +29,9 @@ #define TICKET_CC_DIR "/tmp" #define CC_PREFIX "krb5cc_" /* prefix of the ticket cache */ #define CC_MAX_FILE_LEN 24 -#define CC_MAX_FILE_PATH_LEN strlen(TICKET_CC_DIR)+ CC_MAX_FILE_LEN+2 +#define CC_MAX_FILE_PATH_LEN (sizeof(TICKET_CC_DIR)-1)+ CC_MAX_FILE_LEN+2 #define OVERWRITE 1 -#define KRB5CCNAME "KRB5CCNAME" +#define KRB5CCNAME "KRB5CCNAME" /* -- cgit