svn commit: samba r4270 - branches/SAMBA_3_0/source/lib trunk/source/lib

tpot at samba.org tpot at samba.org
Sun Dec 19 00:53:53 GMT 2004


Author: tpot
Date: 2004-12-19 00:53:52 +0000 (Sun, 19 Dec 2004)
New Revision: 4270

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

Log:
Add some const as a fix for bugzilla #2135.

Modified:
   branches/SAMBA_3_0/source/lib/replace.c
   trunk/source/lib/replace.c


Changeset:
Modified: branches/SAMBA_3_0/source/lib/replace.c
===================================================================
--- branches/SAMBA_3_0/source/lib/replace.c	2004-12-19 00:52:08 UTC (rev 4269)
+++ branches/SAMBA_3_0/source/lib/replace.c	2004-12-19 00:53:52 UTC (rev 4270)
@@ -420,7 +420,7 @@
 
 #ifndef HAVE_VSYSLOG
 #ifdef HAVE_SYSLOG
- void vsyslog (int facility_priority, char *format, va_list arglist)
+ void vsyslog (int facility_priority, const char *format, va_list arglist)
 {
 	char *msg = NULL;
 	vasprintf(&msg, format, arglist);

Modified: trunk/source/lib/replace.c
===================================================================
--- trunk/source/lib/replace.c	2004-12-19 00:52:08 UTC (rev 4269)
+++ trunk/source/lib/replace.c	2004-12-19 00:53:52 UTC (rev 4270)
@@ -420,7 +420,7 @@
 
 #ifndef HAVE_VSYSLOG
 #ifdef HAVE_SYSLOG
- void vsyslog (int facility_priority, char *format, va_list arglist)
+ void vsyslog (int facility_priority, const char *format, va_list arglist)
 {
 	char *msg = NULL;
 	vasprintf(&msg, format, arglist);



More information about the samba-cvs mailing list