rename global session

This commit is contained in:
Philippe Teuwen committed 2021-08-21 20:31:05 +02:00
1 parent 6a2f2b3979
commit dd3b63ae32
20 files changed
+258 -258

No files matched your search

+3 -3
View File
@@ -229,12 +229,12 @@ static int CmdHints(const char *Cmd) {
}
if (turn_off) {
session.show_hints = false;
g_session.show_hints = false;
} else if (turn_on) {
session.show_hints = true;
g_session.show_hints = true;
}
PrintAndLogEx(INFO, "Hints are %s", (session.show_hints) ? "ON" : "OFF");
PrintAndLogEx(INFO, "Hints are %s", (g_session.show_hints) ? "ON" : "OFF");
return PM3_SUCCESS;
}