The branch, v3-5-test has been updated
       via  1419c15... s3-netdomjoin-gui: Fix Bug #7500. Fix 'not a string 
literal' warning in netdomjoin-gui.
      from  89eea1f... s3: Allow previous password to be stored and use it to 
check tickets

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-5-test


- Log -----------------------------------------------------------------
commit 1419c154d67b8ffaf0d6e2e3ba103121ab3736f5
Author: Günther Deschner <g...@samba.org>
Date:   Tue Jun 8 11:25:00 2010 +0200

    s3-netdomjoin-gui: Fix Bug #7500. Fix 'not a string literal' warning in 
netdomjoin-gui.
    
    Patch from Buchan Milne <bgmi...@mandriva.org>.
    
    Thanks!
    
    Guenther
    (cherry picked from commit 575b1018c65312e9eab562cf4851524cf2f8f24a)

-----------------------------------------------------------------------

Summary of changes:
 .../examples/netdomjoin-gui/netdomjoin-gui.c       |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c 
b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c
index c482113..50c22d9 100644
--- a/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c
+++ b/source3/lib/netapi/examples/netdomjoin-gui/netdomjoin-gui.c
@@ -520,7 +520,7 @@ static void callback_do_hostname_change(GtkWidget *widget,
                                        GTK_DIALOG_DESTROY_WITH_PARENT,
                                        GTK_MESSAGE_ERROR,
                                        GTK_BUTTONS_CLOSE,
-                                       str);
+                                       "%s",str);
 
        gtk_window_set_modal(GTK_WINDOW(dialog), TRUE);
        gtk_window_set_transient_for(GTK_WINDOW(dialog), 
GTK_WINDOW(state->window_main));


-- 
Samba Shared Repository

Reply via email to