| 114 | // ---------------------------------------------------------------------------------------- |
| 115 | |
| 116 | void http_client::set_header(const std::string& header_name, long header_value) |
| 117 | { |
| 118 | char buf[21] = { 0 }; |
| 119 | #ifdef __WXMSW__ |
| 120 | ::ltoa(header_value, buf, 10); |
| 121 | #else |
| 122 | snprintf(buf, sizeof(buf), "%ld", header_value); |
| 123 | #endif |
| 124 | set_header(header_name, buf); |
| 125 | } |
| 126 | |
| 127 | // ---------------------------------------------------------------------------------------- |
| 128 |
nothing calls this directly
no outgoing calls
no test coverage detected