diff options
author | Lennart Poettering <lennart@poettering.net> | 2011-04-12 20:26:33 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2011-04-12 20:26:33 +0200 |
commit | 5a2b80ceb20876e80907d0b7f7915afb20f716e6 (patch) | |
tree | fb91e7508143afe2b4b64ab310edf562681097f1 /src | |
parent | 90a5f6e42a7422b6033be5d0fe2bf48ea6b91b98 (diff) |
socket: fix check for SEQPACKET
Diffstat (limited to 'src')
-rw-r--r-- | src/socket-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/socket-util.c b/src/socket-util.c index 4c28946b71..779850d37f 100644 --- a/src/socket-util.c +++ b/src/socket-util.c @@ -268,7 +268,7 @@ int socket_address_verify(const SocketAddress *a) { } } - if (a->type != SOCK_STREAM && a->type != SOCK_DGRAM && a->type == SOCK_SEQPACKET) + if (a->type != SOCK_STREAM && a->type != SOCK_DGRAM && a->type != SOCK_SEQPACKET) return -EINVAL; return 0; |