r1456: Rename this parameter to avoid shadowing a badly-named GTK global.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 12 Jul 2004 02:40:38 +0000 (02:40 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:56:58 +0000 (12:56 -0500)
Andrew Bartlett

source/gtk/common/gtk-smb.c

index d1c1eaa8066c4c114f501c32921c481462a6f133..954f3f55be1bf6be66fd788c75b9114d7c1ee443 100644 (file)
@@ -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))) {