]> git.meshlink.io Git - catta/commitdiff
fix main.c
authorLennart Poettering <lennart@poettering.net>
Fri, 6 May 2005 15:24:22 +0000 (15:24 +0000)
committerLennart Poettering <lennart@poettering.net>
Fri, 6 May 2005 15:24:22 +0000 (15:24 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@48 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

main.c

diff --git a/main.c b/main.c
index 56312438418b361b54e962c28f9657bbcd9408fc..96993296bfc846bb18876d612298d83e4213eba7 100644 (file)
--- a/main.c
+++ b/main.c
@@ -35,27 +35,27 @@ static void entry_group_callback(AvahiServer *s, AvahiEntryGroup *g, AvahiEntryG
 }
 
 int main(int argc, char *argv[]) {
-    AvahiServer *Avahi;
+    AvahiServer *avahi;
     gchar *r;
     GMainLoop *loop = NULL;
     AvahiSubscription *s;
     AvahiKey *k;
     AvahiEntryGroup *g;
 
-    Avahi = avahi_server_new(NULL);
+    avahi = avahi_server_new(NULL);
 
-/*     g = avahi_entry_group_new(Avahi, entry_group_callback, NULL);  */
+/*     g = avahi_entry_group_new(avahi, entry_group_callback, NULL);  */
     
-/*    avahi_server_add_text(Avahi, g, 0, AF_UNSPEC, AVAHI_ENTRY_UNIQUE, NULL, "hallo", NULL); */
-/*      avahi_server_add_service(Avahi, g, 0, AF_UNSPEC, "_http._tcp", "gurke", NULL, NULL, 80, "foo", NULL);  */
+/*    avahi_server_add_text(avahi, g, 0, AF_UNSPEC, AVAHI_ENTRY_UNIQUE, NULL, "hallo", NULL); */
+/*      avahi_server_add_service(avahi, g, 0, AF_UNSPEC, "_http._tcp", "gurke", NULL, NULL, 80, "foo", NULL);  */
     
 /*     avahi_entry_group_commit(g);  */
 
-    avahi_server_dump(Avahi, stdout);
+    avahi_server_dump(avahi, stdout);
     
     
 /*     k = avahi_key_new("ecstasy.local.", AVAHI_DNS_CLASS_IN, AVAHI_DNS_TYPE_ANY); */
-/*     s = avahi_subscription_new(Avahi, k, 0, AF_UNSPEC, subscription, NULL); */
+/*     s = avahi_subscription_new(avahi, k, 0, AF_UNSPEC, subscription, NULL); */
 /*     avahi_key_unref(k); */
 
     loop = g_main_loop_new(NULL, FALSE);
@@ -68,7 +68,7 @@ int main(int argc, char *argv[]) {
 
 /*     avahi_subscription_free(s); */
     /* avahi_entry_group_free(g);  */
-    avahi_server_free(Avahi);
+    avahi_server_free(avahi);
     
     return 0;
 }