Ignore:
Timestamp:
Nov 15, 2013, 6:32:03 PM (6 years ago)
Author:
ldelgass
Message:

Remove some more Rappture deps from nanovis

File:
1 edited

Legend:

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

    r3630 r4063  
    284284#endif
    285285
     286/**
     287 * \brief Send a command with data payload
     288 *
     289 * data pointer is freed on completion of the response
     290 */
    286291void
    287 nv::sendDataToClient(const char *command, const char *data, size_t dlen)
     292nv::sendDataToClient(const char *command, char *data, size_t dlen)
    288293{
    289294#ifdef USE_THREADS
     
    301306    iov[0].iov_len = strlen(command);
    302307    // Data
    303     iov[1].iov_base = const_cast<char *>(data);
     308    iov[1].iov_base = data;
    304309    iov[1].iov_len = dlen;
    305310    if (writev(nv::g_fdOut, iov, numRecords) < 0) {
     
    307312    }
    308313    delete [] iov;
     314    free(data);
    309315#endif
    310316}
Note: See TracChangeset for help on using the changeset viewer.