diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-11-23 03:36:10 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-11-23 03:36:10 +0000 |
commit | 8757254f39ab75c93e9917a6bdf99475c6a024d7 (patch) | |
tree | d29c188100e79b2ee4374b43efe61db80e65947c /source3/include | |
parent | fd1533862ed8bb0c9e0fb4996a37dd784fd17eae (diff) | |
download | samba-8757254f39ab75c93e9917a6bdf99475c6a024d7.tar.gz samba-8757254f39ab75c93e9917a6bdf99475c6a024d7.tar.bz2 samba-8757254f39ab75c93e9917a6bdf99475c6a024d7.zip |
changed string_sub() to replace " ; and ` in the inserted string with _
use all_string_sub() if you don't want this.
(This used to be commit a3357ab49335106674fe7a7481cd0f146d74fbe5)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 08476bdd8f..c4baa8f7a5 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -415,7 +415,8 @@ BOOL in_list(char *s,char *list,BOOL casesensitive); BOOL string_init(char **dest,const char *src); void string_free(char **s); BOOL string_set(char **dest,const char *src); -BOOL string_sub(char *s,const char *pattern,const char *insert); +void string_sub(char *s,const char *pattern,const char *insert); +void all_string_sub(char *s,const char *pattern,const char *insert); void split_at_last_component(char *path, char *front, char sep, char *back); /*The following definitions come from lib/util_unistr.c */ |