diff options
author | Ahto Truu <ahto.truu@guardtime.com> | 2013-08-12 18:10:57 +0300 |
---|---|---|
committer | Rainer Gerhards <rgerhards@adiscon.com> | 2013-09-02 14:56:04 +0200 |
commit | b1894b53f9173c5a76a2f5250bfced870b699cc3 (patch) | |
tree | 353bf22149d84d3e755d869083d3f83d7a252764 /runtime/librsgt.c | |
parent | 468c7cc002e09f952be415cd04f055873a553a31 (diff) | |
download | rsyslog-b1894b53f9173c5a76a2f5250bfced870b699cc3.tar.gz rsyslog-b1894b53f9173c5a76a2f5250bfced870b699cc3.tar.bz2 rsyslog-b1894b53f9173c5a76a2f5250bfced870b699cc3.zip |
Using more appropriate helper function to get the error message
Diffstat (limited to 'runtime/librsgt.c')
-rw-r--r-- | runtime/librsgt.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); } |