dst points to starting offset of dst buffer dst_len remaining space in buffer
| 845 | // dst points to starting offset of dst buffer |
| 846 | // dst_len remaining space in buffer |
| 847 | static size_t |
| 848 | str_concat(char *dst, size_t dst_len, const char *src, size_t src_len) |
| 849 | { |
| 850 | size_t to_copy = std::min(dst_len, src_len); |
| 851 | |
| 852 | if (to_copy > 0) { |
| 853 | TSstrlcat(dst, src, to_copy); |
| 854 | } |
| 855 | |
| 856 | return to_copy; |
| 857 | } |
| 858 | |
| 859 | TSHttpStatus |
| 860 | S3Request::authorize(S3Config *s3) |
no test coverage detected