Ignore:
Timestamp:
Dec 20, 2010, 2:07:51 AM (11 years ago)
Author:
charles
Message:

(trunk) #3836 "libevent2 support" -- bump libevent2 requirement to 2.0.10. This will break the Mac build for a minute intil BMW applies his Mac patch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/bencode-test.c

    r10760 r11548  
    44#include <string.h>
    55
    6 #include <event.h>
     6#include <event2/buffer.h>
    77
    88#include "transmission.h"
     
    326326    tr_bencLoad( benc_str, strlen( benc_str ), &top, NULL );
    327327    tr_bencToBuf( &top, TR_FMT_JSON, buf );
    328     serialized = (char*) EVBUFFER_DATA( buf );
     328    serialized = (char*) evbuffer_pullup( buf, -1 );
    329329    stripWhitespace( serialized );
    330330#if 0
Note: See TracChangeset for help on using the changeset viewer.