]> arthur.barton.de Git - netatalk.git/commitdiff
Add missing call to sl_pack_filemeta
authorFrank Lahm <franklahm@googlemail.com>
Tue, 25 Sep 2012 20:48:39 +0000 (22:48 +0200)
committerFrank Lahm <franklahm@googlemail.com>
Tue, 25 Sep 2012 20:48:39 +0000 (22:48 +0200)
etc/afpd/spotlight_marshalling.c

index 6ca92b19006235b36d141ad7ae3654c824e0792b..1df560662943d0768cd0fd64b95659498dff63f5 100644 (file)
@@ -273,6 +273,8 @@ static int sl_pack_loop(DALLOC_CTX *query, char *buf, int offset, char *toc_buf,
             offset = sl_pack_array(query->dd_talloc_array[n], buf, offset, toc_buf, toc_idx);
         } else if (STRCMP(type, ==, "sl_dict_t")) {
             offset = sl_pack_dict(query->dd_talloc_array[n], buf, offset, toc_buf, toc_idx);
+        } else if (STRCMP(type, ==, "sl_filemeta_t")) {
+            offset = sl_pack_filemeta(query->dd_talloc_array[n], buf, offset, toc_buf, toc_idx);
         } else if (STRCMP(type, ==, "uint64_t")) {
             uint64_t i;
             memcpy(&i, query->dd_talloc_array[n], sizeof(uint64_t));