Apply patch: ncpfs-hg-commit-431.patch
This commit is contained in:
@@ -221,12 +221,12 @@ int main(int argc, char *argv[]) {
|
||||
volume[1] = strlen(s);
|
||||
{
|
||||
struct nw_info_struct2 iii;
|
||||
u_int8_t fh[10];
|
||||
u_int8_t fh[6];
|
||||
|
||||
memset(&iii, 0xCC, sizeof(iii));
|
||||
|
||||
dserr = ncp_ns_open_create_entry(conn, destns, searchattr, NCP_DIRSTYLE_DIRBASE,
|
||||
3, rim, volume, strlen(s) + 2, -1, 0x0B, 0, 0, 0xFF,
|
||||
3, rim, (unsigned char*)volume, strlen(s) + 2, -1, 0x0B, 0, 0, 0xFF,
|
||||
&iii, sizeof(iii), NULL, NULL, fh);
|
||||
if (dserr) {
|
||||
fprintf(stderr, "Cannot obtain info: %s\n",
|
||||
|
||||
Reference in New Issue
Block a user