From b1894b53f9173c5a76a2f5250bfced870b699cc3 Mon Sep 17 00:00:00 2001 From: Ahto Truu Date: Mon, 12 Aug 2013 18:10:57 +0300 Subject: Using more appropriate helper function to get the error message --- runtime/librsgt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/librsgt.c b/runtime/librsgt.c index 41dbfbd0..a8124568 100644 --- a/runtime/librsgt.c +++ b/runtime/librsgt.c @@ -75,7 +75,7 @@ reportGTAPIErr(gtctx ctx, gtfile gf, char *apiname, int ecode) char errbuf[4096]; snprintf(errbuf, sizeof(errbuf), "%s[%s:%d]: %s", (gf == NULL) ? (uchar*)"" : gf->sigfilename, - apiname, ecode, GT_getErrorString(ecode)); + apiname, ecode, GTHTTP_getErrorString(ecode)); errbuf[sizeof(errbuf)-1] = '\0'; reportErr(ctx, errbuf); } -- cgit v1.2.3