diff options
author | Simo Sorce <idra@samba.org> | 2002-01-25 00:35:14 +0000 |
---|---|---|
committer | Simo Sorce <idra@samba.org> | 2002-01-25 00:35:14 +0000 |
commit | 114eaabdcbacf626ccb452a2d4f695b183dd738b (patch) | |
tree | 3084d9285342cce6ecfa3edf1062df3ea8bd0421 /source3/lib/util_str.c | |
parent | ca12d82eaf4c6bd498208a246ca8a1ca9f47c58b (diff) | |
download | samba-114eaabdcbacf626ccb452a2d4f695b183dd738b.tar.gz samba-114eaabdcbacf626ccb452a2d4f695b183dd738b.tar.bz2 samba-114eaabdcbacf626ccb452a2d4f695b183dd738b.zip |
minor fixes
(This used to be commit 04f492980b73800b60dde764fdeb43f2eab79624)
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r-- | source3/lib/util_str.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index dbfaf179a1..a7eeedea3d 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -3,6 +3,7 @@ Version 3.0 Samba utility functions Copyright (C) Andrew Tridgell 1992-2001 + Copyright (C) Simo Sorce 2001-2002 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -749,8 +750,8 @@ len is the number of bytes, not chars if len==0 then no length check is performed ****************************************************************************/ -smb_ucs2_t *all_string_sub_w(smb_ucs2_t *s, const smb_ucs2_t *pattern, - const smb_ucs2_t *insert) +smb_ucs2_t *all_string_sub_w(const smb_ucs2_t *s, const smb_ucs2_t *pattern, + const smb_ucs2_t *insert) { smb_ucs2_t *r, *rp, *sp; size_t lr, lp, li, lt; @@ -951,7 +952,7 @@ int pstr_sprintf(pstring s, const char *fmt, ...) } -/* Just a typesafety wrapper for snprintf into a pstring */ +/* Just a typesafety wrapper for snprintf into a fstring */ int fstr_sprintf(fstring s, const char *fmt, ...) { va_list ap; |