Changeset 8e9e2b7 for lib/misc.c


Ignore:
Timestamp:
2010-10-03T02:45:26Z (14 years ago)
Author:
Wilmer van der Gaast <wilmer@…>
Branches:
master
Children:
04f0c10
Parents:
88de0c9 (diff), 2af3e23 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merging mainline, which includes a huge msnp13 merge.

Not 100% sure about the OpenSSL merge, should double check that but I'm
currently offline.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lib/misc.c

    r88de0c9 r8e9e2b7  
    308308void http_encode( char *s )
    309309{
    310         char *t;
     310        char t[strlen(s)+1];
    311311        int i, j;
    312312       
    313         t = g_strdup( s );
    314        
     313        strcpy( t, s );
    315314        for( i = j = 0; t[i]; i ++, j ++ )
    316315        {
     
    330329        }
    331330        s[j] = 0;
    332        
    333         g_free( t );
    334331}
    335332
Note: See TracChangeset for help on using the changeset viewer.