summaryrefslogtreecommitdiffstats
path: root/source/lib/charcnv.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-25 05:20:43 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-25 05:20:43 +0000
commiteb668b54af4925194c07b217724657f406ec00d0 (patch)
tree4965bf18a7b24c331370aff1591aaa8f9b79f5d4 /source/lib/charcnv.c
parent23173125cd124508a080cfc11436273efcbeedb6 (diff)
downloadsamba-eb668b54af4925194c07b217724657f406ec00d0.tar.gz
samba-eb668b54af4925194c07b217724657f406ec00d0.tar.xz
samba-eb668b54af4925194c07b217724657f406ec00d0.zip
added a little smbtorture test for dumping the unicode table of a
server. This is just a framework right now - I want this to eventually replace the win32 test code from monyo The interesting this about this test is that it shows up a really horrible performance bug in our stat cache code. I'll see if I can fix it.
Diffstat (limited to 'source/lib/charcnv.c')
-rw-r--r--source/lib/charcnv.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/lib/charcnv.c b/source/lib/charcnv.c
index 0e7d5241f4a..5afc638a8d8 100644
--- a/source/lib/charcnv.c
+++ b/source/lib/charcnv.c
@@ -100,7 +100,6 @@ size_t convert_string(charset_t from, charset_t to,
smb_iconv_t descriptor;
if (srclen == -1) srclen = strlen(src)+1;
- if (destlen == -1) destlen = strlen(dest)+1;
if (!initialised) {
initialised = 1;