Ignore:
Timestamp:
Nov 26, 2014 12:26:51 AM (6 years ago)
Author:
ldelgass
Message:

Don't add extra pid to stats log line

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vtkvis/trunk/RendererCmd.cpp

    r4784 r4792  
    23252325    /* Use the initial client key value pairs as the parts for a generating
    23262326     * a unique file name. */
    2327     int fd = VtkVis::getStatsFile(interp, objv[1]);
     2327    int fd = VtkVis::getStatsFile(objv[1]);
    23282328    if (fd < 0) {
    23292329        Tcl_AppendResult(interp, "can't open stats file: ",
     
    23452345        objPtr = Tcl_NewStringObj("pid", 3);
    23462346        Tcl_ListObjAppendElement(interp, listObjPtr, objPtr);
    2347         Tcl_ListObjAppendElement(interp, listObjPtr, Tcl_NewIntObj(getpid()));
     2347        Tcl_ListObjAppendElement(interp, listObjPtr, Tcl_NewLongObj((long)VtkVis::g_stats.pid));
    23482348        /* host */
    23492349        objPtr = Tcl_NewStringObj("host", 4);
Note: See TracChangeset for help on using the changeset viewer.