From 0f0f64a97e5516bf728c5781258584fa8b5161de Mon Sep 17 00:00:00 2001 From: remijouannet Date: Tue, 24 May 2016 17:55:28 +0200 Subject: [PATCH] fixing indent --- rdesktop.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/rdesktop.c b/rdesktop.c index a7b6361..a655e2f 100644 --- a/rdesktop.c +++ b/rdesktop.c @@ -684,11 +684,11 @@ main(int argc, char *argv[]) g_sizeopt = -g_width; g_width = g_sizeopt; - if (*(p + 1) == 'x'){ - g_height = -strtol(p + 2, &p, 10); - }else{ - g_height = g_sizeopt; - } + if (*(p + 1) == 'x'){ + g_height = -strtol(p + 2, &p, 10); + }else{ + g_height = g_sizeopt; + } p++; } @@ -1173,7 +1173,7 @@ main(int argc, char *argv[]) continue; } - /* By setting encryption to False here, we have an encrypted login + /* By setting encryption to False here, we have an encrypted login packet but unencrypted transfer of other packets */ if (!g_packet_encryption) g_encryption_initial = g_encryption = False; @@ -1747,7 +1747,7 @@ save_licence(unsigned char *data, int length) sec_hash_sha1_16(ho, hi, g_static_rdesktop_salt_16); sec_hash_to_string(hash, sizeof(hash), ho, sizeof(ho)); - /* write licence to {sha1}.cal.new, then atomically + /* write licence to {sha1}.cal.new, then atomically rename to {sha1}.cal */ snprintf(path, PATH_MAX, "%s" RDESKTOP_LICENSE_STORE "/%s.cal", home, hash); path[sizeof(path) - 1] = '\0';