changeset 100:5197c4ccbfba

Use plain memset().
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 25 May 2014 05:28:52 +0300
parents 5819454a28a4
children a8f732601fdc
files th_ioctx.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;