diff options
author | Linus Nordberg <linus@nordu.net> | 2010-09-28 23:20:17 +0200 |
---|---|---|
committer | Linus Nordberg <linus@nordu.net> | 2010-09-28 23:20:17 +0200 |
commit | 7ef1fda097c5c96e201d50db2892d1c2354eb6d4 (patch) | |
tree | 9f27e58c5af4006f5d418ad0ce2ce0fd209c99ca /lib/err.c | |
parent | e981fbcf3909fbaba462c7b578f29fa67b3bc74b (diff) |
WIP
Diffstat (limited to 'lib/err.c')
-rw-r--r-- | lib/err.c | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -72,6 +72,16 @@ rs_ctx_err_push (struct rs_handle *ctx, int code, const char *fmt, ...) return code; } +int +rs_ctx_err_push_fl (struct rs_handle *ctx, int code, const char *file, int line, const char *fmt, ...) +{ + va_list args; + va_start (args, fmt); + _ctx_err_vpush_fl (ctx, code, file, line, fmt, args); + va_end (args); + return code; +} + static int _conn_err_vpush_fl (struct rs_connection *conn, int code, const char *file, int line, const char *fmt, va_list args) { |