aboutsummaryrefslogtreecommitdiffstats
path: root/src/funopen.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/funopen.c')
-rw-r--r--src/funopen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/funopen.c b/src/funopen.c
index 363aa59..fb87f96 100644
--- a/src/funopen.c
+++ b/src/funopen.c
@@ -46,7 +46,7 @@ _assuan_funopen(void *cookie,
cookie_seek_function_t *seekfn,
cookie_close_function_t *closefn)
{
- cookie_io_functions_t io = { NULL };
+ cookie_io_functions_t io;
io.read = readfn;
io.write = writefn;