diff options
Diffstat (limited to 'epan/except.c')
-rw-r--r-- | epan/except.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/except.c b/epan/except.c index 71956635ad..b37cbdb04b 100644 --- a/epan/except.c +++ b/epan/except.c @@ -18,7 +18,7 @@ /* * Modified to support throwing an exception with a null message pointer, * and to have the message not be const (as we generate messages with - * "g_strdup_sprintf()", which means they need to be freed; using + * "ws_strdup_printf()", which means they need to be freed; using * a null message means that we don't have to use a special string * for exceptions with no message, and don't have to worry about * not freeing that). @@ -303,7 +303,7 @@ WS_NORETURN void except_throwd(long group, long code, const char *msg, void *dat } /* - * XXX - should we use g_strdup_sprintf() here, so we're not limited by + * XXX - should we use ws_strdup_printf() here, so we're not limited by * XCEPT_BUFFER_SIZE? We could then just use this to generate formatted * messages. */ @@ -312,7 +312,7 @@ WS_NORETURN void except_vthrowf(long group, long code, const char *fmt, { char *buf = (char *)except_alloc(XCEPT_BUFFER_SIZE); - g_vsnprintf(buf, XCEPT_BUFFER_SIZE, fmt, vl); + vsnprintf(buf, XCEPT_BUFFER_SIZE, fmt, vl); except_throwd(group, code, buf, buf); } |