pspp-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Pspp-cvs] Changes to pspp/src/output.c


From: Ben Pfaff
Subject: [Pspp-cvs] Changes to pspp/src/output.c
Date: Wed, 26 Oct 2005 01:07:24 -0400

Index: pspp/src/output.c
diff -u pspp/src/output.c:1.19 pspp/src/output.c:1.20
--- pspp/src/output.c:1.19      Fri Oct 21 01:19:23 2005
+++ pspp/src/output.c   Wed Oct 26 05:06:14 2005
@@ -911,7 +911,7 @@
       *++cp = 0;
 
       info->initial = xstrdup (s);
-      info->options = xmalloc (sizeof *info->options * (cp - s));
+      info->options = xnmalloc (cp - s, sizeof *info->options);
       memcpy (info->options, ptr, sizeof *info->options * (cp - s));
     }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]