Delio Brignoli
2013-05-29 11:20:36 UTC
Signed-off-by: Delio Brignoli <***@audioscience.com>
---
config.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config.c b/config.c
index 3103ecd..734bd36 100644
--- a/config.c
+++ b/config.c
@@ -116,7 +116,7 @@ static enum parser_result parse_pod_setting(const char *option,
pod->flt_interval_pertype[FT_BAD_PEER_NETWORK].type = FTMO_LINEAR_SECONDS;
if (!strcasecmp("ASAP", value)) {
pod->flt_interval_pertype[FT_BAD_PEER_NETWORK].val = 0;
- } else if (1 != sscanf(value, "%d", &val)) {
+ } else if (1 == sscanf(value, "%d", &val)) {
pod->flt_interval_pertype[FT_BAD_PEER_NETWORK].val = val;
} else {
return BAD_VALUE;
---
config.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/config.c b/config.c
index 3103ecd..734bd36 100644
--- a/config.c
+++ b/config.c
@@ -116,7 +116,7 @@ static enum parser_result parse_pod_setting(const char *option,
pod->flt_interval_pertype[FT_BAD_PEER_NETWORK].type = FTMO_LINEAR_SECONDS;
if (!strcasecmp("ASAP", value)) {
pod->flt_interval_pertype[FT_BAD_PEER_NETWORK].val = 0;
- } else if (1 != sscanf(value, "%d", &val)) {
+ } else if (1 == sscanf(value, "%d", &val)) {
pod->flt_interval_pertype[FT_BAD_PEER_NETWORK].val = val;
} else {
return BAD_VALUE;
--
1.7.0.4
1.7.0.4