]> git.tuebingen.mpg.de Git - paraslash.git/blobdiff - aft.c
udp_send: Fix com_off.
[paraslash.git] / aft.c
diff --git a/aft.c b/aft.c
index 20fa3a96a4ccf1139d6d369ae8ff5764103e7822..5fb0480707e094327688c5aad7adeddec35879a8 100644 (file)
--- a/aft.c
+++ b/aft.c
@@ -1016,7 +1016,7 @@ static int fixup_info_string(char *info_string)
        if (!t2)
                return -ERRNO_TO_PARA_ERROR(EINVAL);
 
-       end = t2 + strlen(t2) + 1;
+       end = t2 + strlen(t2);
        fixup_taginfo(info_string + 16, t1);
        fixup_taginfo(t1 + 10, t2);
        fixup_taginfo(t2 + 10, end);
@@ -2619,7 +2619,6 @@ static int aft_event_handler(enum afs_events event, struct para_buffer *pb,
 
 void aft_init(struct afs_table *t)
 {
-       t->name = audio_file_table_desc.name;
        t->open = aft_open;
        t->close = aft_close;
        t->create = aft_create;