From 7980d3424161425dcacafae263cde3451e4f0f70 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 28 Aug 2015 15:01:22 +0200 Subject: typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/libmdsclient/address.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/libmdsclient/address.c b/src/libmdsclient/address.c index 09ef0da..35af77c 100644 --- a/src/libmdsclient/address.c +++ b/src/libmdsclient/address.c @@ -224,7 +224,7 @@ int libmds_parse_display_adress(const char* restrict display, libmds_display_add (f == NULL ? 0 : !strcasecmp(params, f)) #define set(d, t, p) \ address->domain = (d), address->type = (t), address->protocol = (p) - + if (params == NULL) set(PF_UNSPEC, SOCK_STREAM, IPPROTO_TCP); else if (param_test("ip/tcp", 1, "ip", "stream", "tcp")) set(PF_UNSPEC, SOCK_STREAM, IPPROTO_TCP); else if (param_test("ipv4/tcp", 1, "ipv4", "stream", "tcp")) set(PF_INET, SOCK_STREAM, IPPROTO_TCP); -- cgit v1.2.3-70-g09d2