]> arthur.barton.de Git - netatalk.git/commitdiff
Don't use fixed tag when marshalling the CNID structure
authorRalph Boehme <sloowfranklin@gmail.com>
Wed, 7 Aug 2013 08:33:32 +0000 (10:33 +0200)
committerRalph Boehme <sloowfranklin@gmail.com>
Wed, 7 Aug 2013 08:33:32 +0000 (10:33 +0200)
etc/afpd/spotlight_marshalling.c

index f156656ad7c831429c7657d38fd6197a96712378..69733f4943676c58ec4baf7e1d20105a17d97503 100644 (file)
@@ -233,7 +233,7 @@ static int sl_pack_CNID(sl_cnids_t *cnids, char *buf, int offset, char *toc_buf,
     offset += 8;
 
     if (cnid_count > 0) {
-        EC_ZERO( slvalc(buf, offset, MAX_SLQ_DAT, sl_pack_tag(0x0add, cnid_count, cnids->ca_context)) );
+        EC_ZERO( slvalc(buf, offset, MAX_SLQ_DAT, sl_pack_tag(cnids->ca_unkn1, cnid_count, cnids->ca_context)) );
         offset += 8;
 
         for (int i = 0; i < cnid_count; i++) {