svn commit: samba r7879 - in branches/SAMBA_3_0/source/client: .

jerry at samba.org jerry at samba.org
Fri Jun 24 15:13:25 GMT 2005


Author: jerry
Date: 2005-06-24 15:13:25 +0000 (Fri, 24 Jun 2005)
New Revision: 7879

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7879

Log:
fix compile issue caused by not statoc value for intializing cpp macros
Modified:
   branches/SAMBA_3_0/source/client/smbspool.c


Changeset:
Modified: branches/SAMBA_3_0/source/client/smbspool.c
===================================================================
--- branches/SAMBA_3_0/source/client/smbspool.c	2005-06-24 14:55:09 UTC (rev 7878)
+++ branches/SAMBA_3_0/source/client/smbspool.c	2005-06-24 15:13:25 UTC (rev 7879)
@@ -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"
 
 
 /*



More information about the samba-cvs mailing list