| 149 | // ---------------------------------------------------------------------------------------- |
| 150 | |
| 151 | void http_client::set_cookie(const std::string& cookie_name, long cookie_value) |
| 152 | { |
| 153 | char buf[21] = { 0 }; |
| 154 | #ifdef __WXMSW__ |
| 155 | ::ltoa(cookie_value, buf, 10); |
| 156 | #else |
| 157 | snprintf(buf, sizeof(buf), "%ld", cookie_value); |
| 158 | #endif |
| 159 | set_cookie(cookie_name, buf); |
| 160 | } |
| 161 | |
| 162 | // ---------------------------------------------------------------------------------------- |
| 163 |
nothing calls this directly
no outgoing calls
no test coverage detected