diff options
author | x2018 <xkernel.wang@foxmail.com> | 2021-10-26 15:16:18 +0800 |
---|---|---|
committer | Pauli <pauli@openssl.org> | 2021-10-28 13:10:46 +1000 |
commit | 1287dabd0b23326be491125698dd982e4ae28887 (patch) | |
tree | 3d6a62803bdd3d8ca9378eda3e7316a9c995c001 /crypto/LPdir_unix.c | |
parent | 01451721afebabd0b7bdcd4cb3a183c9b590d266 (diff) |
fix some code with obvious wrong coding style
Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Richard Levitte <levitte@openssl.org>
Reviewed-by: Paul Dale <pauli@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/16918)
Diffstat (limited to 'crypto/LPdir_unix.c')
-rw-r--r-- | crypto/LPdir_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/LPdir_unix.c b/crypto/LPdir_unix.c index ddf68b576f..4151d1bd85 100644 --- a/crypto/LPdir_unix.c +++ b/crypto/LPdir_unix.c @@ -137,7 +137,7 @@ const char *LP_find_file(LP_DIR_CTX **ctx, const char *directory) if ((*ctx)->expect_file_generations) { char *p = (*ctx)->entry_name + strlen((*ctx)->entry_name); - while(p > (*ctx)->entry_name && isdigit(p[-1])) + while (p > (*ctx)->entry_name && isdigit(p[-1])) p--; if (p > (*ctx)->entry_name && p[-1] == ';') p[-1] = '\0'; |