Changeset 55ccc9a0 for lib/misc.c


Ignore:
Timestamp:
2012-09-22T11:52:01Z (8 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
d0752e8
Parents:
daf544a
Message:

Solve a whole bunch of Twitter module crashes: Twitter responses seem to
be getting truncated sometimes. Treat this as an error in http_client
already instead of returning partial data.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.c

    rdaf544a r55ccc9a0  
    730730}
    731731
    732 char *get_rfc822_header( char *text, char *header, int len )
     732char *get_rfc822_header( const char *text, const char *header, int len )
    733733{
    734734        int hlen = strlen( header ), i;
    735         char *ret;
     735        const char *ret;
    736736       
    737737        if( text == NULL )
Note: See TracChangeset for help on using the changeset viewer.