cache: constify cache_record fields
[project/mdnsd.git] / ubus.c
diff --git a/ubus.c b/ubus.c
index dd590af..67a4bab 100644 (file)
--- a/ubus.c
+++ b/ubus.c
@@ -47,7 +47,7 @@ static void
 mdns_add_records(const char *name)
 {
        struct cache_record *r, *q = avl_find_element(&records, name, r, avl);
-       char *txt;
+       const char *txt;
        char buffer[MAX_NAME_LEN];
 
        if (!q)