Ignore:
Timestamp:
Mar 6, 2012 11:33:59 AM (8 years ago)
Author:
ldelgass
Message:

Unirect2d/3d::ParseBuffer? returns a Tcl status code, but if
Tcl_ListObjGetElements() failed, it was returning NULL, which as an int is
equivalent to TCL_OK. Return value has been changed to TCL_ERROR.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanovis/Unirect.cpp

    r2798 r2809  
    4545    int objc;
    4646    if (Tcl_ListObjGetElements(interp, objPtr, &objc, &objv) != TCL_OK) {
    47         return NULL;
     47        return TCL_ERROR;
    4848    }
    4949    int result;
     
    6464    int objc;
    6565    if (Tcl_ListObjGetElements(interp, objPtr, &objc, &objv) != TCL_OK) {
    66         return NULL;
     66        return TCL_ERROR;
    6767    }
    6868    int result;
Note: See TracChangeset for help on using the changeset viewer.