]> git.meshlink.io Git - catta/blobdiff - main.c
* correctly build probe packets
[catta] / main.c
diff --git a/main.c b/main.c
index 48d69bd21d520d1c77972a71d6a4b5888687c85b..987df2253758522dea68a47c7609234786589773 100644 (file)
--- a/main.c
+++ b/main.c
@@ -30,8 +30,8 @@ static void subscription(flxSubscription *s, flxRecord *r, gint interface, gucha
     g_free(t);
 }
 
-static void entry_group_callback(flxServer *s, flxEntryGroup *g, flxEntryGroupStatus status, gpointer userdata) {
-    g_message("entry group state: %i", status);
+static void entry_group_callback(flxServer *s, flxEntryGroup *g, flxEntryGroupState state, gpointer userdata) {
+    g_message("entry group state: %i", state);
 }
 
 int main(int argc, char *argv[]) {
@@ -60,8 +60,8 @@ int main(int argc, char *argv[]) {
 
     loop = g_main_loop_new(NULL, FALSE);
     
-    g_timeout_add(1000*20, dump_timeout, flx);
-    g_timeout_add(1000*30, quit_timeout, loop);
+  /*   g_timeout_add(1000*20, dump_timeout, flx); */
+/*     g_timeout_add(1000*30, quit_timeout, loop); */
     
     g_main_loop_run(loop);
     g_main_loop_unref(loop);