From b4b387e31b241dcf4c8359c8515db689946654d5 Mon Sep 17 00:00:00 2001 From: Richard Sharpe Date: Mon, 12 Feb 2001 12:31:05 +0000 Subject: Fix calls to smbc_init in testsmbc.c and tree.c (This used to be commit 244edad065a48c110d73617e6c76bdae0ab6885d) --- source3/client/tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/client/tree.c') diff --git a/source3/client/tree.c b/source3/client/tree.c index eb95511934..941a096677 100644 --- a/source3/client/tree.c +++ b/source3/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); -- cgit