From 3aee4fc5e9f72da2cd3eb5a21f06d05466ce8614 Mon Sep 17 00:00:00 2001 From: mwalker33 Date: Tue, 21 Apr 2020 12:35:13 +1000 Subject: [PATCH] Update preferences.c --- client/src/preferences.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/preferences.c b/client/src/preferences.c index 73cd60293..cc8fd7b6f 100644 --- a/client/src/preferences.c +++ b/client/src/preferences.c @@ -790,7 +790,7 @@ static int setCmdSavePaths (const char *Cmd) { } else { if ((strncmp(strOpt, "default", 7) == 0) || (strncmp(strOpt, "dump", 4) == 0) || - (strncmp(strOpt, "trace", 7) == 0)) { + (strncmp(strOpt, "trace", 5) == 0)) { // Get Path optLen = param_getlength(Cmd, cmdp) + 1; @@ -814,7 +814,7 @@ static int setCmdSavePaths (const char *Cmd) { pathItem = spItemCount; if (strncmp(strOpt, "default", 7) == 0) pathItem = spDefault; if (strncmp(strOpt, "dump", 4) == 0) pathItem = spDump; - if (strncmp(strOpt, "trace", 7) == 0) pathItem = spTrace; + if (strncmp(strOpt, "trace", 5) == 0) pathItem = spTrace; if (pathItem < spItemCount) { if (strcmp(newValue, session.defaultPaths[pathItem]) != 0) {