summaryrefslogtreecommitdiff
path: root/source4/gtk/common
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-08-22 05:33:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:58:15 -0500
commitdcd43a4cbef3bee948bdbd65212361b6043aa4bd (patch)
tree82627a8ab414d6fe86e77e4d4ff589bb00fc5e4d /source4/gtk/common
parentca885cb2d1b0165a6e8c819b82ad9d13de9643ec (diff)
downloadsamba-dcd43a4cbef3bee948bdbd65212361b6043aa4bd.tar.gz
samba-dcd43a4cbef3bee948bdbd65212361b6043aa4bd.tar.bz2
samba-dcd43a4cbef3bee948bdbd65212361b6043aa4bd.zip
r1990: Fix breakage caused by the recent talloc changes. (Failure to process
an SPNEGO login from WinXP at least). talloc_asprintf_append() lost an argument, but because TALLOC_CTX is now a void*, this was not picked up by the compiler. I've tested the login (asn1), but not the registry/gtk changes. Andrew Bartlett (This used to be commit 4294be44057124568fe1d176702056bb62ad3214)
Diffstat (limited to 'source4/gtk/common')
-rw-r--r--source4/gtk/common/gtk-smb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/gtk/common/gtk-smb.c b/source4/gtk/common/gtk-smb.c
index 7d15469c34..310b7a1b92 100644
--- a/source4/gtk/common/gtk-smb.c
+++ b/source4/gtk/common/gtk-smb.c
@@ -300,11 +300,11 @@ const char *gtk_rpc_binding_dialog_get_binding(GtkRpcBindingDialog *d, char *pip
}
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(d->chk_seal))) {
- options = talloc_asprintf_append(d->mem_ctx, options, ",seal");
+ options = talloc_asprintf_append(options, ",seal");
}
if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(d->chk_sign))) {
- options = talloc_asprintf_append(d->mem_ctx, options, ",sign");
+ options = talloc_asprintf_append(options, ",sign");
}
if(options) {