aboutsummaryrefslogtreecommitdiffstats
path: root/src/event/ServerSocket.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-19 17:40:56 +0200
committerMax Kellermann <max@duempel.org>2013-10-19 17:40:56 +0200
commit3274bb54ad673cfd9d9ab6d6d86e5cebaadf89f2 (patch)
treeaa20f6db3c400e2bc6b185cd1be92c6cee15780d /src/event/ServerSocket.hxx
parent7db124068f60f8f8208c9f5601407202381e2ecb (diff)
downloadmpd-3274bb54ad673cfd9d9ab6d6d86e5cebaadf89f2.tar.gz
mpd-3274bb54ad673cfd9d9ab6d6d86e5cebaadf89f2.tar.xz
mpd-3274bb54ad673cfd9d9ab6d6d86e5cebaadf89f2.zip
event/ServerSocket: pass AllocatedPath to AddPath()
Diffstat (limited to '')
-rw-r--r--src/event/ServerSocket.hxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/event/ServerSocket.hxx b/src/event/ServerSocket.hxx
index 9f0745708..a4ca2d96d 100644
--- a/src/event/ServerSocket.hxx
+++ b/src/event/ServerSocket.hxx
@@ -27,6 +27,7 @@
struct sockaddr;
class EventLoop;
class Error;
+class AllocatedPath;
typedef void (*server_socket_callback_t)(int fd,
const struct sockaddr *address,
@@ -100,7 +101,7 @@ public:
* ignore errors
* @return true on success
*/
- bool AddPath(const char *path, Error &error);
+ bool AddPath(AllocatedPath &&path, Error &error);
/**
* Add a socket descriptor that is accepting connections. After this