diff options
author | Andrew Bartlett <abartlet@samba.org> | 2002-11-15 21:27:55 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2002-11-15 21:27:55 +0000 |
commit | 171f345282da39ea301e1daaca8dc3c9dbc564b0 (patch) | |
tree | 91a243bfe9a24ae9f1315cdf4e443c97e602ef21 /source3 | |
parent | 77d0ff6357c74beccf9e438a9980df1b4b19dce4 (diff) | |
download | samba-171f345282da39ea301e1daaca8dc3c9dbc564b0.tar.gz samba-171f345282da39ea301e1daaca8dc3c9dbc564b0.tar.bz2 samba-171f345282da39ea301e1daaca8dc3c9dbc564b0.zip |
Add const to PACKS()
(This used to be commit 0e87408eb0e2786589e23cf4435a0d3223cf55cc)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/lanman.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c index 6a031dde6f..43b5d9e55f 100644 --- a/source3/smbd/lanman.c +++ b/source3/smbd/lanman.c @@ -218,7 +218,7 @@ static int package(struct pack_desc* p, ...) { va_list args; int needed=0, stringneeded; - char* str=NULL; + const char* str=NULL; int is_string=0, stringused; int32 temp; @@ -334,7 +334,7 @@ static void PACKI(struct pack_desc* desc,char *t,int v) PACK(desc,t,v); } -static void PACKS(struct pack_desc* desc,char *t,char *v) +static void PACKS(struct pack_desc* desc,const char *t,const char *v) { PACK(desc,t,v); } |