Changeset 4824 for nanovis/trunk


Ignore:
Timestamp:
Dec 7, 2014, 9:58:20 AM (5 years ago)
Author:
ldelgass
Message:

sync another fix

File:
1 edited

Legend:

Unmodified
Added
Removed
  • nanovis/trunk/nanovisServer.cpp

    r4823 r4824  
    171171    Tcl_DString ds;
    172172    int result;
    173     int f;
    174173
    175174    {
     
    274273    }
    275274    Tcl_DStringAppend(&ds, "\n", -1);
    276     f = getStatsFile(NULL);
     275    int f = getStatsFile(NULL);
    277276    result = writeToStatsFile(f, Tcl_DStringValue(&ds),
    278277                              Tcl_DStringLength(&ds));
     
    346345    dup2(fileno(g_fLog), STDERR_FILENO);
    347346    // If we are writing to socket, map stdout to log
    348     if (g_fdOut != STDOUT_FILENO) { 
    349         dup2(fileno(g_fLog), STDOUT_FILENO); 
    350     } 
     347    if (g_fdOut != STDOUT_FILENO) {
     348        dup2(fileno(g_fLog), STDOUT_FILENO);
     349    }
    351350
    352351    fflush(stdout);
Note: See TracChangeset for help on using the changeset viewer.