574 |
|
|
575 |
case 'z': |
case 'z': |
576 |
DEBUG(("rdp compression enabled\n")); |
DEBUG(("rdp compression enabled\n")); |
577 |
flags |= RDP_COMPRESSION; |
flags |= (RDP_LOGON_COMPRESSION | RDP_LOGON_COMPRESSION2); |
578 |
break; |
break; |
579 |
|
|
580 |
case 'x': |
case 'x': |
740 |
STRNCPY(g_hostname, fullhostname, sizeof(g_hostname)); |
STRNCPY(g_hostname, fullhostname, sizeof(g_hostname)); |
741 |
} |
} |
742 |
|
|
|
if ((flags & RDP_COMPRESSION) && (g_server_bpp > 8)) |
|
|
{ |
|
|
warning("rdp compression not supported for bpp > 8, compression disabled\n"); |
|
|
flags ^= RDP_COMPRESSION; |
|
|
} |
|
|
|
|
743 |
if (prompt_password && read_password(password, sizeof(password))) |
if (prompt_password && read_password(password, sizeof(password))) |
744 |
flags |= RDP_LOGON_AUTO; |
flags |= RDP_LOGON_AUTO; |
745 |
|
|