diff options
| author | = | 2022-05-15 12:16:38 +0200 |
|---|---|---|
| committer | = | 2022-05-15 12:16:38 +0200 |
| commit | 6ca67db0fa243581567dc15e06a0eeef7b85a361 (patch) | |
| tree | 554f6766b8b134771d1067c1f27828a0cf9d482f /include | |
| parent | 1b7112cd1a6ebbd47a2220dc779e8924b9ffa9cc (diff) | |
| download | soikk-DB-6ca67db0fa243581567dc15e06a0eeef7b85a361.tar.xz soikk-DB-6ca67db0fa243581567dc15e06a0eeef7b85a361.tar.zst | |
Test commit
Diffstat (limited to 'include')
| -rw-r--r-- | include/storage.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/storage.h b/include/storage.h index 507c733..a30278f 100644 --- a/include/storage.h +++ b/include/storage.h @@ -3,8 +3,8 @@ #include "db.h" -#define MAXPATH 4096 -#define MAXTAGS 4096 +#define MAXPATH 4094 +#define MAXTAGS 4094 // When intializing the struct, it is recommended @@ -12,8 +12,8 @@ typedef struct{ char path[MAXPATH]; char tags[MAXTAGS]; - uint16_t numTags; uint16_t lenTags; + uint16_t numTags; } row; @@ -23,4 +23,4 @@ void insertTag(row *r, char *tag); void removeTag(row *r, char *tag); -#endif
\ No newline at end of file +#endif |
