]> git.meshlink.io Git - catta/blobdiff - tests/catta-test.c
rename interface -> iface everywhere
[catta] / tests / catta-test.c
index 000828239de72c62202493ae6d9b3b6b27a97824..359df9e86b084f478d3bd61b29abf532600ad806 100644 (file)
@@ -89,7 +89,7 @@ static const char *resolver_event_to_string(CattaResolverEvent event) {
 
 static void record_browser_callback(
     CattaSRecordBrowser *r,
-    CattaIfIndex interface,
+    CattaIfIndex iface,
     CattaProtocol protocol,
     CattaBrowserEvent event,
     CattaRecord *record,
@@ -100,7 +100,7 @@ static void record_browser_callback(
     assert(r);
 
     if (record) {
-        catta_log_debug("RB: record [%s] on %i.%i is %s", t = catta_record_to_string(record), interface, protocol, browser_event_to_string(event));
+        catta_log_debug("RB: record [%s] on %i.%i is %s", t = catta_record_to_string(record), iface, protocol, browser_event_to_string(event));
         catta_free(t);
     } else
         catta_log_debug("RB: [%s]", browser_event_to_string(event));