# HG changeset patch # User Matti Hamalainen # Date 1400984932 -10800 # Node ID 5197c4ccbfba2837ade89c43d85635a9e7edd65f # Parent 5819454a28a4853d8e2b068ad5d7fdb869004053 Use plain memset(). diff -r 5819454a28a4 -r 5197c4ccbfba th_ioctx.c --- a/th_ioctx.c Sun May 25 01:01:31 2014 +0300 +++ b/th_ioctx.c Sun May 25 05:28:52 2014 +0300 @@ -18,7 +18,7 @@ if (ctx == NULL || filename == NULL) return FALSE; - th_memset(ctx, 0, sizeof(*ctx)); + memset(ctx, 0, sizeof(*ctx)); ctx->error = error; ctx->msg = msg;