Skip to content

Commit eb6ebd9

Browse files
committed
Use BYTES_INVALID instead of -1
1 parent 352f411 commit eb6ebd9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/dir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1306,7 +1306,7 @@ get_control_value(const char *str, const char *name,
13061306
{
13071307
/* We assume that too big value is -1 */
13081308
if (errno == ERANGE)
1309-
*value_int64 = -1;
1309+
*value_int64 = BYTES_INVALID;
13101310
else
13111311
goto bad_format;
13121312
}

0 commit comments

Comments
 (0)