summaryrefslogtreecommitdiff
path: root/source/rpc_parse/parse_misc.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-02-11 18:50:13 +0000
committerLuke Leighton <lkcl@samba.org>1999-02-11 18:50:13 +0000
commit73db80f34183324845407b00f58462ff2d7b47ea (patch)
tree6109da3deff1bf5c091ad93e57134d08cdbf8fe7 /source/rpc_parse/parse_misc.c
parentb5396d3c6de4b8cb0e981bab10367e5838f78a53 (diff)
downloadsamba-73db80f34183324845407b00f58462ff2d7b47ea.tar.gz
the UNICODE issue...
Diffstat (limited to 'source/rpc_parse/parse_misc.c')
-rw-r--r--source/rpc_parse/parse_misc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/rpc_parse/parse_misc.c b/source/rpc_parse/parse_misc.c
index bf3bba1249d..7c3f4469087 100644
--- a/source/rpc_parse/parse_misc.c
+++ b/source/rpc_parse/parse_misc.c
@@ -329,7 +329,7 @@ creates a UNISTR structure.
void make_unistr(UNISTR *str, char *buf)
{
/* store the string (null-terminated copy) */
- struni2((char *)(str->buffer), buf);
+ str_to_unistr16(str->buffer, buf);
}
/*******************************************************************
@@ -372,7 +372,7 @@ void make_buffer3_str(BUFFER3 *str, char *buf, int len)
str->buf_len = len * 2;
/* store the string (null-terminated 8 bit chars into 16 bit chars) */
- struni2(str->buffer, buf);
+ str_to_unistr8(str->buffer, buf);
}
/*******************************************************************
@@ -573,7 +573,7 @@ void make_unistr2(UNISTR2 *str, const char *buf, int len)
str->uni_str_len = len;
/* store the string (null-terminated 8 bit chars into 16 bit chars) */
- struni2((char*)(str->buffer), buf);
+ str_to_unistr16((str->buffer), buf);
}
/*******************************************************************