Changeset 3526


Ignore:
Timestamp:
Mar 18, 2013, 2:10:30 PM (4 years ago)
Author:
ldelgass
Message:

Remove old error message code now that clients all support viserror command.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/vtkvis/RpVtkRendererCmd.cpp

    r3490 r3526  
    98889888
    98899889            std::ostringstream oss;
    9890 #ifdef OLD_ERRORS
    9891             oss << "VtkVis Server Error: " << string << "\n";
    9892             nBytes += 22;
    9893 #else
    98949890            oss << "nv>viserror -type internal_error -token " << g_stats.nCommands << " -bytes " << nBytes << "\n" << string;
    98959891            nBytes = oss.str().length();
    9896 #endif
    98979892
    98989893#ifdef USE_THREADS
     
    99139908
    99149909        std::ostringstream oss;
    9915 #ifdef OLD_ERRORS
    9916         oss << "VtkVis Server Error: " << string << "\n";
    9917         nBytes += 22;
    9918 #else
    99199910        oss << "nv>viserror -type error -token " << g_stats.nCommands << " -bytes " << nBytes << "\n" << string;
    99209911        nBytes = oss.str().length();
    9921 #endif
    99229912
    99239913#ifdef USE_THREADS
Note: See TracChangeset for help on using the changeset viewer.