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 --- doc/info/mds.texinfo | 10 +++++----- src/libmdsclient/address.c | 2 +- 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); -- cgit v1.2.3-70-g09d2