Skip to content

Commit

Permalink
Fix typo in macro name
Browse files Browse the repository at this point in the history
  • Loading branch information
bfabiszewski committed May 2, 2022
1 parent c0699c8 commit 1297ee0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions ChangeLog
@@ -1,3 +1,4 @@
2022-05-02: Fix typo in macro name
2022-04-27: Fix undefined behavior when passing null to strdup
2022-04-27: Fix wrong boundary checks in inflections parser resulting in stack buffer over-read with corrupt input
2022-04-26: Fix text formatting
Expand Down
2 changes: 1 addition & 1 deletion src/encryption.c
Expand Up @@ -1188,7 +1188,7 @@ static void mobi_drm_unset(MOBIData *m) {
*m->mh->drm_flags = 0;
}
}
m->rh->encryption_type = MOBI_ENCRYPTON_NONE;
m->rh->encryption_type = MOBI_ENCRYPTION_NONE;

mobi_drmkey_delete(m);
}
Expand Down
2 changes: 1 addition & 1 deletion src/mobi.h
Expand Up @@ -36,7 +36,7 @@
*/
#define MOBI_NOTSET UINT32_MAX

#define MOBI_ENCRYPTON_NONE 0 /**< Text record encryption type: none */
#define MOBI_ENCRYPTION_NONE 0 /**< Text record encryption type: none */
#define MOBI_ENCRYPTION_V1 1 /**< Text record encryption type: old mobipocket */
#define MOBI_ENCRYPTION_V2 2 /**< Text record encryption type: mobipocket */

Expand Down

0 comments on commit 1297ee0

Please sign in to comment.