Skip to content

Commit d9e6722

Browse files
committed
prefs is 5 char length :nerd:
1 parent 06ab9f7 commit d9e6722

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/helpers/CommonCLI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -749,7 +749,7 @@ void CommonCLI::handleCommand(uint32_t sender_timestamp, const char* command, ch
749749
_prefs->advert_loc_policy = ADVERT_LOC_SHARE;
750750
savePrefs();
751751
strcpy(reply, "ok");
752-
} else if (memcmp(command+11, "prefs", 4) == 0) {
752+
} else if (memcmp(command+11, "prefs", 5) == 0) {
753753
_prefs->advert_loc_policy = ADVERT_LOC_PREFS;
754754
savePrefs();
755755
strcpy(reply, "ok");

0 commit comments

Comments
 (0)