diff th_ioctx.h @ 219:faeeac291a6c

Oops, using "errno" as io_ctx struct member causes problems on some platforms. Switching to "status".
author Matti Hamalainen <ccr@tnsp.org>
date Mon, 15 Feb 2016 06:05:42 +0200
parents e20fdeee6bdf
children 1b3472ba7b23
line wrap: on
line diff
--- a/th_ioctx.h	Sun Feb 14 07:53:18 2016 +0200
+++ b/th_ioctx.h	Mon Feb 15 06:05:42 2016 +0200
@@ -30,7 +30,7 @@
     void *data;
     time_t atime;
     int64_t size;
-    int errno;
+    int status;
     size_t line;
 
     void (*error)(struct th_ioctx *, const int err, const char *msg);