diff options
author | Richard Sharpe <sharpe@samba.org> | 2001-02-12 12:31:05 +0000 |
---|---|---|
committer | Richard Sharpe <sharpe@samba.org> | 2001-02-12 12:31:05 +0000 |
commit | b4b387e31b241dcf4c8359c8515db689946654d5 (patch) | |
tree | 3805179eddf753c54c0560c7457a96f283b5b7b8 /source3/client/tree.c | |
parent | 167a7d76d96a2e4884b85ac3eb775050b34346de (diff) | |
download | samba-b4b387e31b241dcf4c8359c8515db689946654d5.tar.gz samba-b4b387e31b241dcf4c8359c8515db689946654d5.tar.bz2 samba-b4b387e31b241dcf4c8359c8515db689946654d5.zip |
Fix calls to smbc_init in testsmbc.c and tree.c
(This used to be commit 244edad065a48c110d73617e6c76bdae0ab6885d)
Diffstat (limited to 'source3/client/tree.c')
-rw-r--r-- | source3/client/tree.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |