import: use SYNTHETIC_ERRNO in one more place
This commit is contained in:
@@ -502,8 +502,7 @@ static size_t pull_job_header_callback(void *contents, size_t size, size_t nmemb
|
||||
|
||||
if (j->content_length != UINT64_MAX) {
|
||||
if (j->content_length > j->compressed_max) {
|
||||
log_error("Content too large.");
|
||||
r = -EFBIG;
|
||||
r = log_error_errno(SYNTHETIC_ERRNO(EFBIG), "Content too large.");
|
||||
goto fail;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user