mirror of
https://github.com/samba-team/samba.git
synced 2025-02-26 21:57:41 +03:00
vfs_fruit: Align a few integer types
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
parent
63f0b59cbe
commit
8a64775334
@ -3733,8 +3733,7 @@ static NTSTATUS fruit_streaminfo_meta_stream(
|
||||
struct stream_struct **pstreams)
|
||||
{
|
||||
struct stream_struct *stream = *pstreams;
|
||||
unsigned int num_streams = *pnum_streams;
|
||||
int i;
|
||||
unsigned int i, num_streams = *pnum_streams;
|
||||
|
||||
for (i = 0; i < num_streams; i++) {
|
||||
if (strequal_m(stream[i].name, AFPINFO_STREAM)) {
|
||||
@ -3771,10 +3770,9 @@ static NTSTATUS fruit_streaminfo_meta_netatalk(
|
||||
struct stream_struct **pstreams)
|
||||
{
|
||||
struct stream_struct *stream = *pstreams;
|
||||
unsigned int num_streams = *pnum_streams;
|
||||
unsigned int i, num_streams = *pnum_streams;
|
||||
struct adouble *ad = NULL;
|
||||
bool is_fi_empty;
|
||||
int i;
|
||||
bool ok;
|
||||
|
||||
/* Remove the Netatalk xattr from the list */
|
||||
@ -3893,11 +3891,10 @@ static NTSTATUS fruit_streaminfo_rsrc_adouble(
|
||||
struct stream_struct **pstreams)
|
||||
{
|
||||
struct stream_struct *stream = *pstreams;
|
||||
unsigned int num_streams = *pnum_streams;
|
||||
unsigned int i, num_streams = *pnum_streams;
|
||||
struct adouble *ad = NULL;
|
||||
bool ok;
|
||||
size_t rlen;
|
||||
int i;
|
||||
|
||||
/*
|
||||
* Check if there's a AFPRESOURCE_STREAM from the VFS streams backend
|
||||
|
Loading…
x
Reference in New Issue
Block a user