git.samba.org
/
sfrench
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2fb7ff7
)
r7879: fix compile issue caused by not statoc value for intializing cpp macros
author
Gerald Carter
<jerry@samba.org>
Fri, 24 Jun 2005 15:13:25 +0000
(15:13 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 15:58:00 +0000
(10:58 -0500)
(This used to be commit
9af07b243005db76b6490856b4e0bbc4a8af0dba
)
source3/client/smbspool.c
patch
|
blob
|
history
diff --git
a/source3/client/smbspool.c
b/source3/client/smbspool.c
index 1efdc12a1bcff8aea7147cf70a861223e66868a7..04f293a8e63c83ee1dd6c55c1af823dcab154c2e 100644
(file)
--- 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"
/*