- Timestamp:
- 2010-08-08T15:25:13Z (14 years ago)
- Branches:
- master
- Children:
- 2528cda
- Parents:
- bc090f0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lib/misc.c
rbc090f0 ree6cc94 264 264 void http_encode( char *s ) 265 265 { 266 char *t;266 char t[strlen(s)+1]; 267 267 int i, j; 268 268 269 t = g_strdup( s ); 270 269 strcpy( t, s ); 271 270 for( i = j = 0; t[i]; i ++, j ++ ) 272 271 { … … 283 282 } 284 283 s[j] = 0; 285 286 g_free( t );287 284 } 288 285
Note: See TracChangeset
for help on using the changeset viewer.