File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1083,7 +1083,7 @@ MagickExport MagickBooleanType ListMagickResourceInfo(FILE *file,
1083
1083
if (resource_info .disk_limit != MagickResourceInfinity )
1084
1084
(void ) FormatMagickSize (resource_info .disk_limit ,MagickTrue ,disk_limit );
1085
1085
(void ) CopyMagickString (time_limit ,"unlimited" ,MaxTextExtent );
1086
- if (resource_info .time_limit != 0 )
1086
+ if (resource_info .time_limit != MagickResourceInfinity )
1087
1087
FormatTimeToLive (resource_info .time_limit ,time_limit );
1088
1088
(void ) FormatLocaleFile (file ,"Resource limits:\n" );
1089
1089
(void ) FormatLocaleFile (file ," Width: %s\n" ,width_limit );
@@ -1520,7 +1520,7 @@ MagickExport MagickBooleanType ResourceComponentGenesis(void)
1520
1520
100.0 ));
1521
1521
limit = DestroyString (limit );
1522
1522
}
1523
- (void ) SetMagickResourceLimit (TimeResource ,0 );
1523
+ (void ) SetMagickResourceLimit (TimeResource ,MagickResourceInfinity );
1524
1524
limit = GetEnvironmentValue ("MAGICK_TIME_LIMIT" );
1525
1525
if (limit != (char * ) NULL )
1526
1526
{
You can’t perform that action at this time.
0 commit comments