vfs_fruit: rename empty_finderinfo() and make it more robust
authorRalph Boehme <slow@samba.org>
Fri, 9 Dec 2016 15:25:38 +0000 (16:25 +0100)
committerUri Simchoni <uri@samba.org>
Wed, 1 Mar 2017 23:32:20 +0000 (00:32 +0100)
commit05d54dd71c9797e607c9fa3c5218c13755c7c652
tree60a1ec7fdf1da4db80cd0dafb11c0d9980c22ec9
parent04feedb7f6e4519352fdd901356e6e53d97896d5
vfs_fruit: rename empty_finderinfo() and make it more robust

No change in behaviour, but ad_entry(ad, ADEID_FINDERI) can in theory
return NULL.

The next commit will add the same function for a AfpInfo type, so rename
this function that works on struct adouble to ad_empty_finderinfo().

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12427

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Uri Simchoni <uri@samba.org>
source3/modules/vfs_fruit.c