summaryrefslogtreecommitdiffstats
path: root/source/client/tree.c
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2001-02-12 12:31:05 +0000
committerRichard Sharpe <sharpe@samba.org>2001-02-12 12:31:05 +0000
commit244edad065a48c110d73617e6c76bdae0ab6885d (patch)
treed58369ad9cd65f1323bb9a15bd40a7d4ae6386c5 /source/client/tree.c
parent3c6611434601a45ba448f0313397104c7cea616c (diff)
downloadsamba-244edad065a48c110d73617e6c76bdae0ab6885d.tar.gz
samba-244edad065a48c110d73617e6c76bdae0ab6885d.tar.xz
samba-244edad065a48c110d73617e6c76bdae0ab6885d.zip
Fix calls to smbc_init in testsmbc.c and tree.c
Diffstat (limited to 'source/client/tree.c')
-rw-r--r--source/client/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/client/tree.c b/source/client/tree.c
index eb95511934a..941a0966774 100644
--- a/source/client/tree.c
+++ b/source/client/tree.c
@@ -518,7 +518,7 @@ static void cb_wholenet(GtkWidget *item, gchar *signame)
/* Should put up a dialog box to ask the user for username and password */
static void
-auth_fn(char *server, char *share,
+auth_fn(const char *server, const char *share,
char *workgroup, int wgmaxlen, char *username, int unmaxlen,
char *password, int pwmaxlen)
{
@@ -546,7 +546,7 @@ int main( int argc,
/* Init the smbclient library */
- err = smbc_init(auth_fn, "", 10);
+ err = smbc_init(auth_fn, 10);
/* a generic toplevel window */
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);