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

Comparing ray/src/cv/mgflib/lookup.c (file contents):
Revision 1.8 by greg, Fri Feb 28 20:11:29 2003 UTC vs.
Revision 1.9 by schorsch, Sun Jul 27 22:12:02 2003 UTC

# Line 125 | Line 125 | tryagain:
125           * recursive call to lu_find().
126           */
127          while (ndx--)
128 <                if (le[ndx].key != NULL)
128 >                if (le[ndx].key != NULL) {
129                          if (le[ndx].data != NULL)
130                                  *lu_find(tbl, le[ndx].key) = le[ndx];
131                          else if (tbl->freek != NULL)
132                                  (*tbl->freek)(le[ndx].key);
133 +                }
134          free((MEM_PTR)le);
135          goto tryagain;                  /* should happen only once! */
136   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines