]> arthur.barton.de Git - netatalk.git/commitdiff
Fix dalloc_value_for_key usage
authorRalph Boehme <sloowfranklin@gmail.com>
Sun, 15 Sep 2013 13:59:21 +0000 (15:59 +0200)
committerRalph Boehme <sloowfranklin@gmail.com>
Sun, 15 Sep 2013 13:59:21 +0000 (15:59 +0200)
etc/afpd/spotlight.c

index 7e5ec145c4cfe3525bdc3b2f0585dcc4fe463a05..fff5a36ba244def42fed80134ae2664b603cfbd9 100644 (file)
@@ -390,7 +390,7 @@ static int sl_rpc_storeAttributesForOIDArray(const AFPObj *obj, const DALLOC_CTX
         EC_NEG1_LOG( movecwd(vol, dir) );
     }
 
-    if ((sl_time = dalloc_value_for_key(query, "DALLOC_CTX", 0, "sl_array_t", 1, "sl_dict_t", 1, "kMDItemLastUsedDate"))) {
+    if ((sl_time = dalloc_value_for_key(query, "DALLOC_CTX", 0, "DALLOC_CTX", 1, "DALLOC_CTX", 1, "kMDItemLastUsedDate"))) {
         struct utimbuf utimes;
         utimes.actime = utimes.modtime = sl_time->tv_sec;
         utime(path, &utimes);