Changeset 8e9e2b7 for lib/misc.c
- Timestamp:
- 2010-10-03T02:45:26Z (14 years ago)
- 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. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
r88de0c9 r8e9e2b7 308 308 void http_encode( char *s ) 309 309 { 310 char *t;310 char t[strlen(s)+1]; 311 311 int i, j; 312 312 313 t = g_strdup( s ); 314 313 strcpy( t, s ); 315 314 for( i = j = 0; t[i]; i ++, j ++ ) 316 315 { … … 330 329 } 331 330 s[j] = 0; 332 333 g_free( t );334 331 } 335 332
Note: See TracChangeset
for help on using the changeset viewer.