aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-08-28 15:01:22 +0200
committerMattias Andrée <maandree@operamail.com>2015-08-28 15:01:22 +0200
commit7980d3424161425dcacafae263cde3451e4f0f70 (patch)
tree75ccce430421b220de04ad2b91cf82055e3c42a8 /src
parentremove redundent cast (diff)
downloadmds-7980d3424161425dcacafae263cde3451e4f0f70.tar.gz
mds-7980d3424161425dcacafae263cde3451e4f0f70.tar.bz2
mds-7980d3424161425dcacafae263cde3451e4f0f70.tar.xz
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/libmdsclient/address.c2
1 files changed, 1 insertions, 1 deletions
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);