Ignore:
Timestamp:
01/10/11 18:20:05 (16 months ago)
Author:
shiretu
Message:

-- corrected some EHTONxxxx calls

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/thelib/src/protocols/rtmp/inboundrtmpprotocol.cpp

    r246 r252  
    189189 
    190190        //timestamp 
    191         *(uint32_t *) _pOutputBuffer = 0; 
     191        EHTONLP(_pOutputBuffer, (uint32_t) time(NULL)); 
    192192 
    193193        //version 
    194         *(uint32_t *) (_pOutputBuffer + 4) = EHTONL(0x01020304); 
     194        EHTONLP(_pOutputBuffer + 4, (uint32_t) 0x00000000); 
    195195 
    196196        //generate random data 
Note: See TracChangeset for help on using the changeset viewer.