[avahi] Trivial bug, with patch
Trent Lloyd
lathiat at bur.st
Mon Jan 29 22:38:42 PST 2007
Shock horror! How could we let such a grave bug escape notice for so
long! ;)
Committed in R1377
Thanks Michael.
Cheers,
Trent
On Mon, Jan 29, 2007 at 08:02:04PM -0800, MBurns wrote:
> Hey,
>
> Attending the [1]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] [2]http://avahi.org/attachment/ticket/98/typo.patch#preview
>
> --
> Michael Burns * Security Student
> NET * Oregon State University
>
> References
>
> Visible links
> 1. http://linux.conf.au/
> 2. http://avahi.org/attachment/ticket/98/typo.patch#preview
> 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
> avahi at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/avahi
More information about the avahi
mailing list