svn commit: samba r23992 - in branches: SAMBA_3_2/source/smbd SAMBA_3_2_0/source/smbd

vlendec at samba.org vlendec at samba.org
Sun Jul 22 17:13:47 GMT 2007


Author: vlendec
Date: 2007-07-22 17:13:46 +0000 (Sun, 22 Jul 2007)
New Revision: 23992

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

Log:
Some const
Modified:
   branches/SAMBA_3_2/source/smbd/reply.c
   branches/SAMBA_3_2_0/source/smbd/reply.c


Changeset:
Modified: branches/SAMBA_3_2/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_2/source/smbd/reply.c	2007-07-22 13:51:39 UTC (rev 23991)
+++ branches/SAMBA_3_2/source/smbd/reply.c	2007-07-22 17:13:46 UTC (rev 23992)
@@ -207,7 +207,7 @@
  Pull a string and check the path allowing a wilcard - provide for error return.
 ****************************************************************************/
 
-size_t srvstr_get_path_wcard(char *inbuf, uint16 smb_flags2, char *dest,
+size_t srvstr_get_path_wcard(const char *inbuf, uint16 smb_flags2, char *dest,
 			     const char *src, size_t dest_len, size_t src_len,
 			     int flags, NTSTATUS *err, BOOL *contains_wcard)
 {
@@ -248,7 +248,7 @@
  Pull a string and check the path - provide for error return.
 ****************************************************************************/
 
-size_t srvstr_get_path(char *inbuf, uint16 smb_flags2, char *dest,
+size_t srvstr_get_path(const char *inbuf, uint16 smb_flags2, char *dest,
 		       const char *src, size_t dest_len, size_t src_len,
 		       int flags, NTSTATUS *err)
 {

Modified: branches/SAMBA_3_2_0/source/smbd/reply.c
===================================================================
--- branches/SAMBA_3_2_0/source/smbd/reply.c	2007-07-22 13:51:39 UTC (rev 23991)
+++ branches/SAMBA_3_2_0/source/smbd/reply.c	2007-07-22 17:13:46 UTC (rev 23992)
@@ -206,7 +206,7 @@
  Pull a string and check the path allowing a wilcard - provide for error return.
 ****************************************************************************/
 
-size_t srvstr_get_path_wcard(char *inbuf, uint16 smb_flags2, char *dest,
+size_t srvstr_get_path_wcard(const char *inbuf, uint16 smb_flags2, char *dest,
 			     const char *src, size_t dest_len, size_t src_len,
 			     int flags, NTSTATUS *err, BOOL *contains_wcard)
 {
@@ -247,7 +247,7 @@
  Pull a string and check the path - provide for error return.
 ****************************************************************************/
 
-size_t srvstr_get_path(char *inbuf, uint16 smb_flags2, char *dest,
+size_t srvstr_get_path(const char *inbuf, uint16 smb_flags2, char *dest,
 		       const char *src, size_t dest_len, size_t src_len,
 		       int flags, NTSTATUS *err)
 {



More information about the samba-cvs mailing list