Changeset 5728:8ea83eb211cf in roaraudio for plugins
- Timestamp:
- 11/03/12 00:27:41 (11 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
plugins/universal/protocol-http.c
r5727 r5728 178 178 const char * c = str; 179 179 180 for (; *c; c++ ) {180 for (; *c; c++, str++) { 181 181 if ( *c == '%' && __is_hex(c[1]) && __is_hex(c[2]) ) { 182 182 *str = __hex2num(c[1])*16 + __hex2num(c[2]); 183 str++;184 183 c += 2; 184 } else if ( *c == '+' ) { 185 *str = ' '; 185 186 } else { 186 187 *str = *c; 187 str++;188 188 } 189 189 }
Note: See TracChangeset
for help on using the changeset viewer.