aboutsummaryrefslogtreecommitdiff
path: root/csv-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'csv-test.c')
-rw-r--r--csv-test.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/csv-test.c b/csv-test.c
index eadcf53..432d343 100644
--- a/csv-test.c
+++ b/csv-test.c
@@ -63,6 +63,8 @@ test_exception_with_signal(FILE *f)
63static void 63static void
64my_error_handler(csv_err_t csv_err, void *env) 64my_error_handler(csv_err_t csv_err, void *env)
65{ 65{
66 assert(env != NULL);
67
66 fprintf(stderr, "my_error_handler: %s\n", csv_err_str(csv_err)); 68 fprintf(stderr, "my_error_handler: %s\n", csv_err_str(csv_err));
67 longjmp(*((jmp_buf *) env), 1); 69 longjmp(*((jmp_buf *) env), 1);
68} 70}