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

Comparing ray/src/common/header.c (file contents):
Revision 2.9 by gregl, Fri Oct 31 11:40:52 1997 UTC vs.
Revision 2.10 by gwlarson, Tue Oct 27 08:44:28 1998 UTC

# Line 153 | Line 153 | char  *p;
153                          ungetc(buf[MAXLINE-2], fp);     /* prevent false end */
154                          buf[MAXLINE-2] = '\0';
155                  }
156 <                if (f != NULL)
157 <                        (*f)(buf, p);
156 >                if (f != NULL && (*f)(buf, p) < 0)
157 >                        return(-1);
158          }
159   }
160  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines