summaryrefslogtreecommitdiffstats
path: root/avahi-compat-howl/samples
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-25 01:08:29 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-25 01:08:29 +0200
commita97605e07ad7f44f2f65e15be64880e61a39ab43 (patch)
tree740527503048f5a2b2078741cfd13fc2ae6d4d1e /avahi-compat-howl/samples
parent238909aaff10489fe538c8c54e3f82fe8a54b849 (diff)
from now on we enforce a strict whitespace regime
Diffstat (limited to 'avahi-compat-howl/samples')
-rw-r--r--avahi-compat-howl/samples/browse.c4
-rw-r--r--avahi-compat-howl/samples/publish.c2
-rw-r--r--avahi-compat-howl/samples/query.c4
-rw-r--r--avahi-compat-howl/samples/resolve.c4
4 files changed, 7 insertions, 7 deletions
diff --git a/avahi-compat-howl/samples/browse.c b/avahi-compat-howl/samples/browse.c
index b4a8cf3..f55b1cf 100644
--- a/avahi-compat-howl/samples/browse.c
+++ b/avahi-compat-howl/samples/browse.c
@@ -5,7 +5,7 @@
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
+ * this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
@@ -54,7 +54,7 @@ my_resolver(
sw_result err = SW_OKAY;
sw_discovery_cancel(discovery, oid);
-
+
fprintf(stderr, "resolve reply: 0x%x %s %s %s %s %d\n", interface_index, name, type, domain, sw_ipv4_address_name(address, name_buf, 16), port);
if ((text_record_len > 0) && (text_record) && (*text_record != '\0'))
diff --git a/avahi-compat-howl/samples/publish.c b/avahi-compat-howl/samples/publish.c
index cca6040..931e786 100644
--- a/avahi-compat-howl/samples/publish.c
+++ b/avahi-compat-howl/samples/publish.c
@@ -5,7 +5,7 @@
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
+ * this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
diff --git a/avahi-compat-howl/samples/query.c b/avahi-compat-howl/samples/query.c
index a74a81c..b1c30eb 100644
--- a/avahi-compat-howl/samples/query.c
+++ b/avahi-compat-howl/samples/query.c
@@ -5,7 +5,7 @@
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
+ * this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
@@ -40,7 +40,7 @@ query_record_reply(
sw_const_string fullname,
sw_uint16 rrtype,
sw_uint16 rrclass,
- sw_uint16 rrdatalen,
+ sw_uint16 rrdatalen,
sw_const_octets rrdata,
sw_uint32 ttl,
sw_opaque extra)
diff --git a/avahi-compat-howl/samples/resolve.c b/avahi-compat-howl/samples/resolve.c
index b921c27..1790849 100644
--- a/avahi-compat-howl/samples/resolve.c
+++ b/avahi-compat-howl/samples/resolve.c
@@ -5,7 +5,7 @@
* are permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice,
- * this list of conditions and the following disclaimer.
+ * this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
@@ -54,7 +54,7 @@ my_resolver(
sw_result err = SW_OKAY;
sw_discovery_cancel(discovery, oid);
-
+
fprintf(stderr, "resolve reply: 0x%x %s %s %s %s %d\n", interface_index, name, type, domain, sw_ipv4_address_name(address, name_buf, 16), port);
if ((text_record_len > 0) && (text_record) && (*text_record != '\0'))