diff options
author | Jeremy Allison <jra@samba.org> | 2012-08-21 15:48:38 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2012-08-22 20:38:50 +0200 |
commit | 63ea42853cbc6cdfec4fe6f8aea8b717e889237c (patch) | |
tree | 60a920a894c235f4a0ff588362ca348a97fbb386 /source3/lib | |
parent | 7eee4947f30ba1526fadcb3157999e03c0b105e7 (diff) | |
download | samba-63ea42853cbc6cdfec4fe6f8aea8b717e889237c.tar.gz samba-63ea42853cbc6cdfec4fe6f8aea8b717e889237c.tar.bz2 samba-63ea42853cbc6cdfec4fe6f8aea8b717e889237c.zip |
Remove align_string(). No longer used.
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Wed Aug 22 20:38:50 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/lib')
-rw-r--r-- | source3/lib/charcnv.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/source3/lib/charcnv.c b/source3/lib/charcnv.c index 32ba97aaa4..1fa2c5c8cf 100644 --- a/source3/lib/charcnv.c +++ b/source3/lib/charcnv.c @@ -494,17 +494,6 @@ size_t pull_string_talloc(TALLOC_CTX *ctx, flags); } - -size_t align_string(const void *base_ptr, const char *p, int flags) -{ - if (!(flags & STR_ASCII) && \ - ((flags & STR_UNICODE || \ - (SVAL(base_ptr, smb_flg2) & FLAGS2_UNICODE_STRINGS)))) { - return ucs2_align(base_ptr, p, flags); - } - return 0; -} - /******************************************************************* Write a string in (little-endian) unicode format. src is in the current DOS codepage. len is the length in bytes of the |