1
0
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:
foobar
2001-06-23 11:26:24 +00:00
parent cc6a1b20fd
commit 087398621f
+1 -1
View File
@@ -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;