diff options
author | Gerald Carter <jerry@samba.org> | 2005-06-24 15:13:25 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2005-06-24 15:13:25 +0000 |
commit | ddd20f64dd6245dc62ba61dba47a61a5440c4a9c (patch) | |
tree | cefef7bd808eaeb64944cd17a8cada590b8fb041 /source/client | |
parent | 3ebdc7e0e035d3221d287416c0c1943a0dae62bd (diff) | |
download | samba-ddd20f64dd6245dc62ba61dba47a61a5440c4a9c.tar.gz samba-ddd20f64dd6245dc62ba61dba47a61a5440c4a9c.tar.xz samba-ddd20f64dd6245dc62ba61dba47a61a5440c4a9c.zip |
r7879: fix compile issue caused by not statoc value for intializing cpp macros
Diffstat (limited to 'source/client')
-rw-r--r-- | source/client/smbspool.c | 4 |
1 files 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" /* |