Hey,
Attending the Linux.conf.au talk on how to properly use Avahi, there was a
trivial bug pointed out. One of the error messages in an example C file had
a typo, "failre" instead of "failure". Well, this just isn't acceptable...
So two weeks later I wrote a patch for it. Bug filed and attached a patch to
it in trac[1]. The patch is attached here, for good measure.
Here is my plea to the Open Source gods: This is my first patch, so if I
didn't use proper etiquette I would appreciate a friendly correction so I
don't make the same mistake again. Thanks all.
[1] http://avahi.org/attachment/ticket/98/typo.patch#preview
--
Michael Burns * Security Student
NET * Oregon State University
Index: client-browse-services.c
===================================================================
--- client-browse-services.c (revision 1376)
+++ client-browse-services.c (working copy)
@@ -146,7 +146,7 @@
/* Called whenever the client or server state changes */
if (state == AVAHI_CLIENT_FAILURE) {
- fprintf(stderr, "Server connection failre: %s\n", avahi_strerror(avahi_client_errno(c)));
+ fprintf(stderr, "Server connection failure: %s\n", avahi_strerror(avahi_client_errno(c)));
avahi_simple_poll_quit(simple_poll);
}
}
_______________________________________________
avahi mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/avahi