Adding forceOutAlignemnt(out, 8) which is just cosmetics.
Thanks goes to Arvo for his findings and provided patch of the bugs fixed in r1649, r1650 and this commit. git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/rdesktop/trunk@1651 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
d8cc551013
commit
6e7f45f3e7
2
scard.c
2
scard.c
@ -690,6 +690,7 @@ TS_SCardEstablishContext(STREAM in, STREAM out)
|
||||
/* i hope it's not a pointer because i just downcasted it - jlj */
|
||||
out_uint32_le(out, 0x00000004);
|
||||
out_uint32_le(out, hContext);
|
||||
outForceAlignment(out, 8);
|
||||
return rv;
|
||||
}
|
||||
|
||||
@ -721,6 +722,7 @@ TS_SCardReleaseContext(STREAM in, STREAM out)
|
||||
DEBUG_SCARD(("SCARD: -> Success\n"));
|
||||
}
|
||||
|
||||
outForceAlignment(out, 8);
|
||||
return rv;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user