Skip to content

Commit

Permalink
Fixed XP server backport.
Browse files Browse the repository at this point in the history
  • Loading branch information
Will Sobel committed Nov 17, 2013
1 parent 474d7ff commit 21f5aa1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion agent/agent.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ void Agent::start()
}

// Start the server. This blocks until the server stops.
server::http_1a::start();
server_http::start();
}
catch (dlib::socket_error &e) {
sLogger << LFATAL << "Cannot start server: " << e.what();
Expand Down
2 changes: 0 additions & 2 deletions agent/ref_counted.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

#include "ref_counted.hpp"
#include "dlib/threads.h"
#include <libkern/OSAtomic.h>


static dlib::rmutex sRefMutex;

Expand Down
2 changes: 1 addition & 1 deletion lib/dlib/sockets/sockets_kernel_1.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,8 +331,8 @@ namespace dlib

static inline ADDRESS_FAMILY sockaddr_family(const std::string &ip, int &len)
{
return AF_INET;
len = sizeof(sockaddr_in);
return AF_INET;
}

static inline bool set_sockaddr_address(sockaddr_storage &sin, const std::string &ip)
Expand Down

0 comments on commit 21f5aa1

Please sign in to comment.