diff options
author | Anders Broman <anders.broman@ericsson.com> | 2008-05-05 20:38:27 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2008-05-05 20:38:27 +0000 |
commit | 9cc9c92e75a6326c5cf786efff345de436b3530d (patch) | |
tree | 57c6602103931f306e7e7fdb4c736ebff9f7959b /epan/tap.c | |
parent | bf9ccab9cbc05ead599282575497385ea596b1d7 (diff) |
Fix some of the Errors/warnings detected by checkapi,
make non ASCII char a warning for now.
svn path=/trunk/; revision=25240
Diffstat (limited to 'epan/tap.c')
-rw-r--r-- | epan/tap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/tap.c b/epan/tap.c index 6570eda8ef..fb47372aec 100644 --- a/epan/tap.c +++ b/epan/tap.c @@ -379,7 +379,7 @@ register_tap_listener(const char *tapname, void *tapdata, const char *fstring, t tap_id=find_tap_id(tapname); if(!tap_id){ error_string = g_string_new(""); - g_string_sprintf(error_string, "Tap %s not found", tapname); + g_string_printf(error_string, "Tap %s not found", tapname); return error_string; } @@ -389,7 +389,7 @@ register_tap_listener(const char *tapname, void *tapdata, const char *fstring, t if(fstring){ if(!dfilter_compile(fstring, &tl->code)){ error_string = g_string_new(""); - g_string_sprintf(error_string, + g_string_printf(error_string, "Filter \"%s\" is invalid - %s", fstring, dfilter_error_msg); g_free(tl); @@ -445,7 +445,7 @@ set_tap_dfilter(void *tapdata, const char *fstring) if(fstring){ if(!dfilter_compile(fstring, &tl->code)){ error_string = g_string_new(""); - g_string_sprintf(error_string, + g_string_printf(error_string, "Filter \"%s\" is invalid - %s", fstring, dfilter_error_msg); return error_string; |