mirror of
https://github.com/php/php-src.git
synced 2026-04-24 00:18:23 +02:00
fix build.
This commit is contained in:
+1
-1
@@ -1022,7 +1022,7 @@ int ReadJpegFile(ImageInfoType *ImageInfo, Section_t *Sections,
|
||||
memset(ImageInfo, 0, sizeof(*ImageInfo));
|
||||
memset(Sections, 0, sizeof(*Sections));
|
||||
|
||||
tmp = php_basename(FileName,strlen(FileName));
|
||||
tmp = php_basename(FileName,strlen(FileName),NULL,0);
|
||||
strlcpy(ImageInfo->FileName, tmp, sizeof(ImageInfo->FileName));
|
||||
efree(tmp);
|
||||
ImageInfo->FocalLength = 0;
|
||||
|
||||
Reference in New Issue
Block a user