diff options
author | Volker Lendecke <vl@samba.org> | 2009-04-13 09:29:32 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-04-13 09:30:18 +0200 |
commit | 94d3047de19a73c30f218d13a4847a4d354a61aa (patch) | |
tree | 1015d5f272646a6600dc7b8a5d083fd9bae1a2f0 | |
parent | 3c10d065247c94ceb721b102402bc6c4aeefe33d (diff) | |
download | samba-94d3047de19a73c30f218d13a4847a4d354a61aa.tar.gz samba-94d3047de19a73c30f218d13a4847a4d354a61aa.tar.bz2 samba-94d3047de19a73c30f218d13a4847a4d354a61aa.zip |
Use convert_string_talloc, thanks Andrew!
-rw-r--r-- | source3/smbd/notify.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/notify.c b/source3/smbd/notify.c index a17afc7dee..d141fb2180 100644 --- a/source3/smbd/notify.c +++ b/source3/smbd/notify.c @@ -81,7 +81,7 @@ static bool notify_marshall_changes(int num_changes, c = &changes[i]; - if (!convert_string_allocate(talloc_tos(), CH_UNIX, CH_UTF16LE, + if (!convert_string_talloc(talloc_tos(), CH_UNIX, CH_UTF16LE, c->name, strlen(c->name)+1, &uni_name.buffer, &namelen, True) || (uni_name.buffer == NULL)) { goto fail; |