| 1290 | widths/flags are honored. */ |
| 1291 | |
| 1292 | ATTRIBUTE_PURE |
| 1293 | static char const * |
| 1294 | first_percent_b (char const *fmt) |
| 1295 | { |
| 1296 | for (; *fmt; fmt++) |
| 1297 | if (fmt[0] == '%') |
| 1298 | switch (fmt[1]) |
| 1299 | { |
| 1300 | case 'b': return fmt; |
| 1301 | case '%': fmt++; break; |
| 1302 | } |
| 1303 | return NULL; |
| 1304 | } |
| 1305 | |
| 1306 | static char RFC3986[256]; |
| 1307 | static void |