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

Comparing ray/src/common/rglinst.c (file contents):
Revision 3.16 by greg, Fri Feb 18 00:40:25 2011 UTC vs.
Revision 3.17 by greg, Tue Mar 22 03:56:17 2016 UTC

# Line 147 | Line 147 | char   *name;
147                  path = getpath(name, getrlibpath(), R_OK);
148                  if (path == NULL) {
149                          sprintf(errmsg, "cannot find octree \"%s\"", name);
150 <                        error(USER, errmsg);
150 >                        error(SYSTEM, errmsg);
151                  }
152                  op = (OCTINST *)(lp->data = (char *)malloc(sizeof(OCTINST)));
153                  strcpy(op->octfile, path);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines