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 | a3357ab49335106674fe7a7481cd0f146d74fbe5 (patch) | |
tree | 97d2148fce405a449f40426043e8fa23400a7f96 /source/include | |
parent | bdcee2557bd243a1bfbde3353ebcfe3d82bf9fc5 (diff) | |
download | samba-a3357ab49335106674fe7a7481cd0f146d74fbe5.tar.gz samba-a3357ab49335106674fe7a7481cd0f146d74fbe5.tar.xz samba-a3357ab49335106674fe7a7481cd0f146d74fbe5.zip |
changed string_sub() to replace " ; and ` in the inserted string with _
use all_string_sub() if you don't want this.
Diffstat (limited to 'source/include')
-rw-r--r-- | source/include/proto.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/include/proto.h b/source/include/proto.h index 08476bdd8f7..c4baa8f7a50 100644 --- a/source/include/proto.h +++ b/source/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 */ |