fixing indent
This commit is contained in:
parent
3140824be3
commit
0f0f64a97e
14
rdesktop.c
14
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';
|
||||
|
Loading…
Reference in New Issue
Block a user