Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a #1

Merged
merged 13 commits into from
Feb 19, 2019
Prev Previous commit
Next Next commit
Fixed yhirose#120
  • Loading branch information
yhirose committed Jan 15, 2019
commit 8d908fadb6b17e66b7b2718d3b89b367d2f835d1
2 changes: 1 addition & 1 deletion httplib.h
Original file line number Diff line number Diff line change
Expand Up @@ -1490,7 +1490,7 @@ inline std::string SocketStream::get_remote_addr() const {
// Buffer stream implementation
inline int BufferStream::read(char* ptr, size_t size)
{
#ifdef _WIN32
#if defined(_MSC_VER) && _MSC_VER < 1900
return static_cast<int>(buffer._Copy_s(ptr, size, size));
#else
return static_cast<int>(buffer.copy(ptr, size));
Expand Down