aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--doc/info/mds.texinfo10
-rw-r--r--src/libmdsclient/address.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/doc/info/mds.texinfo b/doc/info/mds.texinfo
index 78ea482..18a85b1 100644
--- a/doc/info/mds.texinfo
+++ b/doc/info/mds.texinfo
@@ -4512,11 +4512,11 @@ The name of the package to which the program
announced the icon belongs.
@item Required header: @code{Icon ID}
-An ID of the icon that can be used identify the icon,
-icon ID:s are not unique, but the combination of a
-package and a icon ID should be unque and can be used
-to ignore already added icons and hide icons that the
-user has been configured to be hidden.
+An ID of the icon that can be used to identify the
+icon, icon ID:s are not unique, but the combination
+of a package and a icon ID should be unique and can
+be used to ignore already added icons and hide icons
+that the user has been configured to be hidden.
@item Required header: @code{Title}
A title describing the icon for the user, used to
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);