[MPlayer-cvslog] CVS: main subopt-helper.c,1.3,1.4

Reimar Döffinger CVS syncmail at mplayerhq.hu
Sat Jan 22 13:49:14 CET 2005


CVS change done by Reimar Döffinger CVS

Update of /cvsroot/mplayer/main
In directory mail:/var2/tmp/cvs-serv4454

Modified Files:
	subopt-helper.c 
Log Message:
100l, missing () around *valp


Index: subopt-helper.c
===================================================================
RCS file: /cvsroot/mplayer/main/subopt-helper.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- subopt-helper.c	19 Jan 2005 17:10:20 -0000	1.3
+++ subopt-helper.c	22 Jan 2005 12:49:11 -0000	1.4
@@ -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;
                 }




More information about the MPlayer-cvslog mailing list