Ran indent-all script

This commit is contained in:
Henrik Andersson 2017-01-25 00:32:41 +01:00 committed by Henrik Andersson
parent 14a4bf2d1d
commit 71bf45a5d7
3 changed files with 9 additions and 7 deletions

View File

@ -792,11 +792,14 @@ main(int argc, char *argv[])
else if (str_startswith(optarg, "b")) /* broadband */
{
g_rdp5_performanceflags =
PERF_DISABLE_CURSOR_SHADOW | PERF_DISABLE_WALLPAPER | PERF_ENABLE_FONT_SMOOTHING;
PERF_DISABLE_CURSOR_SHADOW | PERF_DISABLE_WALLPAPER
| PERF_ENABLE_FONT_SMOOTHING;
}
else if (str_startswith(optarg, "l")) /* lan */
{
g_rdp5_performanceflags = PERF_DISABLE_CURSOR_SHADOW | PERF_ENABLE_FONT_SMOOTHING;
g_rdp5_performanceflags =
PERF_DISABLE_CURSOR_SHADOW |
PERF_ENABLE_FONT_SMOOTHING;
}
else
{

6
ssl.c
View File

@ -171,8 +171,7 @@ rdssl_cert_to_rkey(RDSSL_CERT * cert, uint32 * key_len)
if ((nid == NID_md5WithRSAEncryption) || (nid == NID_shaWithRSAEncryption))
{
DEBUG_RDP5(("Re-setting algorithm type to RSA in server certificate\n"));
X509_PUBKEY_set0_param(key, OBJ_nid2obj(NID_rsaEncryption),
0, NULL, NULL, 0);
X509_PUBKEY_set0_param(key, OBJ_nid2obj(NID_rsaEncryption), 0, NULL, NULL, 0);
}
epk = X509_get_pubkey(cert);
if (NULL == epk)
@ -232,8 +231,7 @@ rdssl_rkey_get_exp_mod(RDSSL_RKEY * rkey, uint8 * exponent, uint32 max_exp_len,
RSA_get0_key(rkey, &e, &n, NULL);
#endif
if ((BN_num_bytes(e) > (int) max_exp_len) ||
(BN_num_bytes(n) > (int) max_mod_len))
if ((BN_num_bytes(e) > (int) max_exp_len) || (BN_num_bytes(n) > (int) max_mod_len))
{
return 1;
}

3
xwin.c
View File

@ -2402,7 +2402,8 @@ xwin_process_events(void)
xevent.xclient.window =
RootWindowOfScreen(g_screen);
XSendEvent(g_display, xevent.xclient.window, False,
SubstructureRedirectMask | SubstructureNotifyMask, &xevent);
SubstructureRedirectMask |
SubstructureNotifyMask, &xevent);
break;
}
}