mirror of
https://github.com/samba-team/samba.git
synced 2025-12-13 16:23:50 +03:00
r22045: As Volker noticed, skip_string's last argument is
redundent. Remove it. Jeremy.
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
08ea2b83b2
commit
140881cfbb
@@ -91,7 +91,7 @@
|
||||
/* put string s at p with max len n and increment p past string */
|
||||
#define PUTSTRING(p,s,n) do {\
|
||||
push_ascii(p,s?s:"",n?n:256,STR_TERMINATE);\
|
||||
p = push_skip_string(p,1);\
|
||||
p = push_skip_string(p);\
|
||||
} while(0)
|
||||
/* put string s and p, using fixed len l, and increment p by l */
|
||||
#define PUTSTRINGF(p,s,l) do {\
|
||||
@@ -111,7 +111,7 @@
|
||||
/* get asciiz string s from p, increment p past string */
|
||||
#define GETSTRING(p,s) do {\
|
||||
pull_ascii_pstring(s,p);\
|
||||
p = push_skip_string(p,1);\
|
||||
p = push_skip_string(p);\
|
||||
} while(0)
|
||||
/* get fixed length l string s from p, increment p by l */
|
||||
#define GETSTRINGF(p,s,l) do {\
|
||||
|
||||
Reference in New Issue
Block a user