diff options
author | Gerald Carter <jerry@samba.org> | 2002-06-17 18:36:36 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2002-06-17 18:36:36 +0000 |
commit | 1e6e5b299c235b513095a76a4cd9fffc41e8fc9c (patch) | |
tree | 9f741529073ad411cc7328334e26d3e35b1d33f1 /source/rpcclient/cmd_srvsvc.c | |
parent | a11c5d7ad07d259d764aede4745d13f8163a8212 (diff) | |
download | samba-1e6e5b299c235b513095a76a4cd9fffc41e8fc9c.tar.gz samba-1e6e5b299c235b513095a76a4cd9fffc41e8fc9c.tar.xz samba-1e6e5b299c235b513095a76a4cd9fffc41e8fc9c.zip |
beginning to sync up for 2.2.5 release....
Diffstat (limited to 'source/rpcclient/cmd_srvsvc.c')
-rw-r--r-- | source/rpcclient/cmd_srvsvc.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/rpcclient/cmd_srvsvc.c b/source/rpcclient/cmd_srvsvc.c index 6fbd152dfb5..d6c1fd544f3 100644 --- a/source/rpcclient/cmd_srvsvc.c +++ b/source/rpcclient/cmd_srvsvc.c @@ -142,8 +142,8 @@ static void display_srv_info_101(SRV_INFO_101 *sv101) fstring name; fstring comment; - unistr2_to_ascii(name, &sv101->uni_name, sizeof(name) - 1); - unistr2_to_ascii(comment, &sv101->uni_comment, sizeof(comment) - 1); + unistr2_to_unix(name, &sv101->uni_name, sizeof(name) - 1); + unistr2_to_unix(comment, &sv101->uni_comment, sizeof(comment) - 1); display_server(name, sv101->srv_type, comment); @@ -160,9 +160,9 @@ static void display_srv_info_102(SRV_INFO_102 *sv102) fstring comment; fstring usr_path; - unistr2_to_ascii(name, &sv102->uni_name, sizeof(name) - 1); - unistr2_to_ascii(comment, &sv102->uni_comment, sizeof(comment) - 1); - unistr2_to_ascii(usr_path, &sv102->uni_usr_path, sizeof(usr_path) - 1); + unistr2_to_unix(name, &sv102->uni_name, sizeof(name) - 1); + unistr2_to_unix(comment, &sv102->uni_comment, sizeof(comment) - 1); + unistr2_to_unix(usr_path, &sv102->uni_usr_path, sizeof(usr_path) - 1); display_server(name, sv102->srv_type, comment); |