| 454 | } |
| 455 | |
| 456 | static inline char *bencode_dictionary_get_str(bencode_item_t *dict, const char *key, str *str) { |
| 457 | str->s = bencode_dictionary_get_string(dict, key, &str->len); |
| 458 | if (!str->s) |
| 459 | str->len = 0; |
| 460 | return str->s; |
| 461 | } |
| 462 | |
| 463 | static inline char *bencode_dictionary_get_string_dup(bencode_item_t *dict, const char *key, int *len) { |
| 464 | const char *s; |
no test coverage detected