The branch, v3-4-test has been updated
       via  5fbf50d... s3-netdomjoin-gui: Fix Bug #7500. Fix 'not a string 
literal' warning in netdomjoin-gui.
      from  22de063... s3-kerberos: temporary fix for ipv6 in print_kdc_line().

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


- Log -----------------------------------------------------------------
commit 5fbf50d351bf3d14b495a5aa586b0cee68ab0cae
Author: Günther Deschner <[email protected]>
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 <[email protected]>.
    
    Thanks!
    
    Guenther
    (cherry picked from commit 575b1018c65312e9eab562cf4851524cf2f8f24a)
    (cherry picked from commit 1419c154d67b8ffaf0d6e2e3ba103121ab3736f5)

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

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