Timezone patch from Mark Roach/Stephen Sprunk
git-svn-id: svn://svn.code.sf.net/p/rdesktop/code/trunk/rdesktop@603 423420c4-83ab-492f-b58f-81f9feb106b5
This commit is contained in:
parent
7deb3bbc62
commit
dcc2c90f89
5
rdp.c
5
rdp.c
@ -270,9 +270,8 @@ rdp_send_logon_info(uint32 flags, char *domain, char *user,
|
|||||||
out_uint16_le(s, len_dll + 2);
|
out_uint16_le(s, len_dll + 2);
|
||||||
rdp_out_unistr(s, "C:\\WINNT\\System32\\mstscax.dll", len_dll);
|
rdp_out_unistr(s, "C:\\WINNT\\System32\\mstscax.dll", len_dll);
|
||||||
|
|
||||||
tzone = (mktime(localtime(&t)) - mktime(gmtime(&t))) / 60;
|
tzone = (mktime(gmtime(&t)) - mktime(localtime(&t))) / 60;
|
||||||
out_uint16_le(s, tzone);
|
out_uint32_le(s, tzone);
|
||||||
out_uint16_le(s, 0x0000);
|
|
||||||
|
|
||||||
rdp_out_unistr(s, "GTB, normaltid", 2 * strlen("GTB, normaltid"));
|
rdp_out_unistr(s, "GTB, normaltid", 2 * strlen("GTB, normaltid"));
|
||||||
out_uint8s(s, 62 - 2 * strlen("GTB, normaltid"));
|
out_uint8s(s, 62 - 2 * strlen("GTB, normaltid"));
|
||||||
|
Loading…
Reference in New Issue
Block a user