Apply patch: ncpfs-hg-commit-455.patch
This commit is contained in:
@@ -303,7 +303,7 @@ static void _PutFilterFirstPass(
|
||||
} else {
|
||||
/* different operand: go to next node in created
|
||||
chain */
|
||||
last_q = (struct _filter_node**)&q->value;
|
||||
last_q = (struct _filter_node**)(void*)&q->value;
|
||||
q = q->value;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1696,7 +1696,7 @@ restartLoop:;
|
||||
NWCONN_HANDLE conn = list_entry(current, struct ncp_conn, nds_ring);
|
||||
NWObjectCount connaddresses;
|
||||
nuint8* conndata;
|
||||
NWCCODE err2;
|
||||
NWDSCCODE err2;
|
||||
/* compare addresses */
|
||||
|
||||
ncpt_mutex_unlock(&nds_ring_lock);
|
||||
@@ -2808,6 +2808,8 @@ static NWDSCCODE NWDSGetAttrVal_OBJECT_ACL(NWDSContextHandle ctx, Buf_T* buffer,
|
||||
if (err)
|
||||
return err;
|
||||
err = NWDSBufGetLE32(buffer, &priv);
|
||||
if (err)
|
||||
return err;
|
||||
oacl->privileges = priv;
|
||||
return err;
|
||||
}
|
||||
@@ -4149,6 +4151,8 @@ NWDSCCODE NWDSGetServerName(NWDSContextHandle ctx, Buf_T* buffer,
|
||||
if (err)
|
||||
return err;
|
||||
err = NWDSBufGetLE32(buffer, &le32);
|
||||
if (err)
|
||||
return err;
|
||||
if (partcount)
|
||||
*partcount = le32;
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user