summaryrefslogtreecommitdiffstats
path: root/source/rpcclient/cmd_dfs.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-06-17 18:36:36 +0000
committerGerald Carter <jerry@samba.org>2002-06-17 18:36:36 +0000
commit1e6e5b299c235b513095a76a4cd9fffc41e8fc9c (patch)
tree9f741529073ad411cc7328334e26d3e35b1d33f1 /source/rpcclient/cmd_dfs.c
parenta11c5d7ad07d259d764aede4745d13f8163a8212 (diff)
downloadsamba-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_dfs.c')
-rw-r--r--source/rpcclient/cmd_dfs.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/source/rpcclient/cmd_dfs.c b/source/rpcclient/cmd_dfs.c
index 8a3c3e9db33..1d90c6a96d6 100644
--- a/source/rpcclient/cmd_dfs.c
+++ b/source/rpcclient/cmd_dfs.c
@@ -94,7 +94,7 @@ static void display_dfs_info_1(DFS_INFO_1 *info1)
{
fstring temp;
- unistr2_to_ascii(temp, &info1->entrypath, sizeof(temp) - 1);
+ unistr2_to_unix(temp, &info1->entrypath, sizeof(temp) - 1);
printf("entrypath: %s\n", temp);
}
@@ -104,10 +104,10 @@ static void display_dfs_info_2(DFS_INFO_2 *info2)
{
fstring temp;
- unistr2_to_ascii(temp, &info2->entrypath, sizeof(temp) - 1);
+ unistr2_to_unix(temp, &info2->entrypath, sizeof(temp) - 1);
printf("entrypath: %s\n", temp);
- unistr2_to_ascii(temp, &info2->comment, sizeof(temp) - 1);
+ unistr2_to_unix(temp, &info2->comment, sizeof(temp) - 1);
printf("\tcomment: %s\n", temp);
printf("\tstate: %d\n", info2->state);
@@ -121,10 +121,10 @@ static void display_dfs_info_3(DFS_INFO_3 *info3)
fstring temp;
int i;
- unistr2_to_ascii(temp, &info3->entrypath, sizeof(temp) - 1);
+ unistr2_to_unix(temp, &info3->entrypath, sizeof(temp) - 1);
printf("entrypath: %s\n", temp);
- unistr2_to_ascii(temp, &info3->comment, sizeof(temp) - 1);
+ unistr2_to_unix(temp, &info3->comment, sizeof(temp) - 1);
printf("\tcomment: %s\n", temp);
printf("\tstate: %d\n", info3->state);
@@ -133,10 +133,10 @@ static void display_dfs_info_3(DFS_INFO_3 *info3)
for (i = 0; i < info3->num_storages; i++) {
DFS_STORAGE_INFO *dsi = &info3->storages[i];
- unistr2_to_ascii(temp, &dsi->servername, sizeof(temp) - 1);
+ unistr2_to_unix(temp, &dsi->servername, sizeof(temp) - 1);
printf("\t\tstorage[%d] servername: %s\n", i, temp);
- unistr2_to_ascii(temp, &dsi->sharename, sizeof(temp) - 1);
+ unistr2_to_unix(temp, &dsi->sharename, sizeof(temp) - 1);
printf("\t\tstorage[%d] sharename: %s\n", i, temp);
}
}