diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-08-28 15:01:22 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-08-28 15:01:22 +0200 |
commit | 7980d3424161425dcacafae263cde3451e4f0f70 (patch) | |
tree | 75ccce430421b220de04ad2b91cf82055e3c42a8 | |
parent | remove redundent cast (diff) | |
download | mds-7980d3424161425dcacafae263cde3451e4f0f70.tar.gz mds-7980d3424161425dcacafae263cde3451e4f0f70.tar.bz2 mds-7980d3424161425dcacafae263cde3451e4f0f70.tar.xz |
typo
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-rw-r--r-- | doc/info/mds.texinfo | 10 | ||||
-rw-r--r-- | 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); |