summaryrefslogtreecommitdiffstats
path: root/rr.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-04-12 17:19:18 +0000
committerLennart Poettering <lennart@poettering.net>2005-04-12 17:19:18 +0000
commitfc174c871b4f85e558766c1ca55661fa7b1b4c9a (patch)
tree040cf32e60f69d930c60101e128180dab8d67f1f /rr.c
parenta20c01bd12216d409e0dfc5d3bbacc940352bfce (diff)
fix some memory corruption bugs
make use auf SRV registration functions in main.c git-svn-id: file:///home/lennart/svn/public/avahi/trunk@24 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'rr.c')
-rw-r--r--rr.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/rr.c b/rr.c
index a1c5868..fe475eb 100644
--- a/rr.c
+++ b/rr.c
@@ -241,18 +241,17 @@ guint flx_key_hash(const flxKey *k) {
}
static gboolean rdata_equal(const flxRecord *a, const flxRecord *b) {
- gchar *t;
g_assert(a);
g_assert(b);
g_assert(a->key->type == b->key->type);
- t = flx_record_to_string(a);
- g_message("comparing %s", t);
- g_free(t);
+/* t = flx_record_to_string(a); */
+/* g_message("comparing %s", t); */
+/* g_free(t); */
- t = flx_record_to_string(b);
- g_message("and %s", t);
- g_free(t);
+/* t = flx_record_to_string(b); */
+/* g_message("and %s", t); */
+/* g_free(t); */
switch (a->key->type) {