From 27ca8d7a250915b290cf89c195e383a8abab35d5 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 5 Jun 2010 00:52:30 +0200 Subject: socket: verify socket type properly when desrializing --- src/socket-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/socket-util.h') diff --git a/src/socket-util.h b/src/socket-util.h index 993972c458..ffcc86882f 100644 --- a/src/socket-util.h +++ b/src/socket-util.h @@ -72,7 +72,7 @@ int socket_address_listen( mode_t socket_mode, int *ret); -bool socket_address_is(const SocketAddress *a, const char *s); +bool socket_address_is(const SocketAddress *a, const char *s, int type); bool socket_address_equal(const SocketAddress *a, const SocketAddress *b); -- cgit v1.2.3-54-g00ecf