# HG changeset patch # User masneyb # Date 1059164524 0 # Node ID a5205627a66f5eca412755543823d5cda18cc4e0 # Parent b8d14c2c3097aad2aafef824e3aafe23a475ecd4 2003-7-25 Brian Masney * src/gtk/gftp-gtk.h src/text/gftp-text.h - added __attribute__((format(printf, 3, 4))) to logging functions (from Oliver Lehmann ) diff -r b8d14c2c3097 -r a5205627a66f src/gtk/gftp-gtk.h --- a/src/gtk/gftp-gtk.h Fri Jul 25 20:21:26 2003 +0000 +++ b/src/gtk/gftp-gtk.h Fri Jul 25 20:22:04 2003 +0000 @@ -277,7 +277,7 @@ void ftp_log ( gftp_logging_level level, gftp_request * request, const char *string, - ... ); + ... ) __attribute__((format(printf, 3, 4))); void refresh ( gftp_window_data * wdata ); diff -r b8d14c2c3097 -r a5205627a66f src/text/gftp-text.h --- a/src/text/gftp-text.h Fri Jul 25 20:21:26 2003 +0000 +++ b/src/text/gftp-text.h Fri Jul 25 20:22:04 2003 +0000 @@ -53,7 +53,7 @@ /* gftp-text.h */ void gftp_text_log ( gftp_logging_level level, gftp_request * request, - const char *string, ... ); + const char *string, ... ) __attribute__((format(printf, 3, 4))); int gftp_text_open ( gftp_request * request, char *command, gpointer *data );