ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/psign.c
(Generate patch)

Comparing ray/src/px/psign.c (file contents):
Revision 2.22 by schorsch, Mon Jun 30 14:59:12 2003 UTC vs.
Revision 2.23 by schorsch, Sun Jul 27 22:12:03 2003 UTC

# Line 229 | Line 229 | FILE  *fp;
229                  len = strlen(buf);
230                  curl->s = (char *)malloc(len);
231                  curl->sp = (short *)malloc(sizeof(short)*len--);
232 <                if (curl->s == NULL | curl->sp == NULL)
232 >                if ((curl->s == NULL) | (curl->sp == NULL))
233                          goto memerr;
234                  if (len > maxline)
235                          maxline = len;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines