summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-06-24 15:13:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:58:00 -0500
commitb69ca6c597b6bc80ea1abe8f1d3ca6ce2f7729d7 (patch)
tree94f0b69f1a699f1258bab209ea579b2e69af7034
parent2fb7ff7d9def29e21dd87f565ccda5437c848cdd (diff)
downloadsamba-b69ca6c597b6bc80ea1abe8f1d3ca6ce2f7729d7.tar.gz
samba-b69ca6c597b6bc80ea1abe8f1d3ca6ce2f7729d7.tar.bz2
samba-b69ca6c597b6bc80ea1abe8f1d3ca6ce2f7729d7.zip
r7879: fix compile issue caused by not statoc value for intializing cpp macros
(This used to be commit 9af07b243005db76b6490856b4e0bbc4a8af0dba)
-rw-r--r--source3/client/smbspool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/smbspool.c b/source3/client/smbspool.c
index 1efdc12a1b..04f293a8e6 100644
--- a/source3/client/smbspool.c
+++ b/source3/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"
/*