diff options
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); |