]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/adouble/ad_flush.c
Unarchiving certain ZIP archives fails, bug #569
[netatalk.git] / libatalk / adouble / ad_flush.c
index fc95412c0d5fd03511e83de0c1352f35f1e91551..6e21486302d5a69fd63cffea71788f228384647e 100644 (file)
@@ -164,7 +164,7 @@ int ad_rebuild_adouble_header_osx(struct adouble *ad, char *adbuf)
     memcpy(buf, &temp, sizeof( temp ));
     buf += sizeof( temp );
 
-    memcpy(buf, "Netatalk        ", 16);
+    memcpy(buf, AD_FILLER_NETATALK, strlen(AD_FILLER_NETATALK));
     buf += sizeof( ad->ad_filler );
 
     nent = htons(ADEID_NUM_OSX);