changeset 14572:cfe2bbf96000

100l, missing () around *valp
author reimar
date Sat, 22 Jan 2005 12:49:11 +0000
parents 512a57bbe68d
children 3df308b43c50
files subopt-helper.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/subopt-helper.c	Sat Jan 22 12:15:06 2005 +0000
+++ b/subopt-helper.c	Sat Jan 22 12:49:11 2005 +0000
@@ -158,7 +158,7 @@
                   if (tmp.str && tmp.len > 0) {
                     *valp = malloc(tmp.len + 1);
                     memcpy(*valp, tmp.str, tmp.len);
-                    *valp[tmp.len] = 0;
+                    (*valp)[tmp.len] = 0;
                   }
                   break;
                 }