Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
DVR: don't use full 32-bit range for retention/removal (backward comp…
…atibility)
  • Loading branch information
perexg committed Dec 3, 2015
1 parent 3498da4 commit 62b2fdb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/dvr/dvr.h
Expand Up @@ -137,9 +137,9 @@ typedef enum {
DVR_RET_1YEAR = (365+1),
DVR_RET_2YEARS = (2*365+1),
DVR_RET_3YEARS = (3*366+1),
DVR_RET_ONREMOVE = UINT32_MAX-1, // for retention only
DVR_RET_SPACE = UINT32_MAX-1, // for removal only
DVR_RET_FOREVER = UINT32_MAX
DVR_RET_ONREMOVE = INT32_MAX-1, // for retention only
DVR_RET_SPACE = INT32_MAX-1, // for removal only
DVR_RET_FOREVER = INT32_MAX
} dvr_retention_t;

typedef struct dvr_entry {
Expand Down

0 comments on commit 62b2fdb

Please sign in to comment.