Ignore:
Timestamp:
Jun 9, 2009, 3:53:39 PM (15 years ago)
Author:
gah
Message:

Make GetDataStream? respect data header

File:
1 edited

Legend:

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

    r1493 r1495  
    609609    Rappture::Outcome err;
    610610    unsigned int flags;
    611     flags = RPENC_Z|RPENC_B64|RPENC_HDR;
     611    flags = RPENC_Z|RPENC_B64;
     612    Trace("Checking header[%.13s]\n", buf.bytes());
     613    if (strncmp (buf.bytes(), "@@RP-ENC:", 9) == 0) {
     614        flags = RPENC_HDR;
     615    }
    612616    if (!Rappture::encoding::decode(err, buf, flags)) {
    613617        printf("ERROR -- DECODING\n");
Note: See TracChangeset for help on using the changeset viewer.