Mercurial > gftp.yaz
changeset 233:a5205627a66f
2003-7-25 Brian Masney <masneyb@gftp.org>
* src/gtk/gftp-gtk.h src/text/gftp-text.h - added
__attribute__((format(printf, 3, 4))) to logging functions (from
Oliver Lehmann <oliver@FreeBSD.ORG>)
author | masneyb |
---|---|
date | Fri, 25 Jul 2003 20:22:04 +0000 |
parents | b8d14c2c3097 |
children | 251845fc1ef1 |
files | src/gtk/gftp-gtk.h src/text/gftp-text.h |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 );
--- 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 );