diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/gtk/common/gtk-smb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/gtk/common/gtk-smb.c b/source4/gtk/common/gtk-smb.c index d1c1eaa806..954f3f55be 100644 --- a/source4/gtk/common/gtk-smb.c +++ b/source4/gtk/common/gtk-smb.c @@ -280,7 +280,7 @@ const char *gtk_rpc_binding_dialog_get_password(GtkRpcBindingDialog *d) return gtk_entry_get_text(GTK_ENTRY(d->entry_password)); } -const char *gtk_rpc_binding_dialog_get_binding(GtkRpcBindingDialog *d, char *pipe) +const char *gtk_rpc_binding_dialog_get_binding(GtkRpcBindingDialog *d, char *pipe_name) { const char *transport; const char *host; @@ -295,8 +295,8 @@ const char *gtk_rpc_binding_dialog_get_binding(GtkRpcBindingDialog *d, char *pip else transport = "ncacn_np"; - if(pipe != NULL) { - options = talloc_asprintf(d->mem_ctx, "\\pipe\\%s", pipe); + if(pipe_name != NULL) { + options = talloc_asprintf(d->mem_ctx, "\\pipe\\%s", pipe_name); } if(gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(d->chk_seal))) { |