Commit d789ec0154d9c8672a97e6da2180256c23fb85fa

Authored by Wiebe Cazemier
1 parent ec518d7a

Fix session.db magic file string

Showing 1 changed file with 2 additions and 2 deletions
sessionsandsubscriptionsdb.h
... ... @@ -24,8 +24,8 @@ License along with FlashMQ. If not, see <https://www.gnu.org/licenses/>.
24 24 #include "persistencefile.h"
25 25 #include "session.h"
26 26  
27   -#define MAGIC_STRING_SESSION_FILE_V1 "FlashMQRetainedDBv1"
28   -#define MAGIC_STRING_SESSION_FILE_V2 "FlashMQRetainedDBv2"
  27 +#define MAGIC_STRING_SESSION_FILE_V1 "FlashMQRetainedDBv1" // That this is called 'retained' was a bug...
  28 +#define MAGIC_STRING_SESSION_FILE_V2 "FlashMQSessionDBv2"
29 29 #define RESERVED_SPACE_SESSIONS_DB_V2 32
30 30  
31 31 /**
... ...