| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/mail/spamprobe/files/ |
Upload File : |
--- src/parser/PngParser.cc.orig 2006-11-17 08:11:10.000000000 +0100
+++ src/parser/PngParser.cc 2010-03-29 17:15:51.000000000 +0200
@@ -53,9 +53,9 @@
{
if (m_initialized) {
if (m_infoPtr) {
- png_destroy_read_struct(&m_pngPtr, &m_infoPtr, png_infopp_NULL);
+ png_destroy_read_struct(&m_pngPtr, &m_infoPtr, NULL);
} else {
- png_destroy_read_struct(&m_pngPtr, png_infopp_NULL, png_infopp_NULL);
+ png_destroy_read_struct(&m_pngPtr, NULL, NULL);
}
}
}
@@ -104,7 +104,7 @@
int bit_depth, color_type, interlace_type;
png_get_IHDR(m_pngPtr, m_infoPtr, &width, &height, &bit_depth, &color_type,
- &interlace_type, int_p_NULL, int_p_NULL);
+ &interlace_type, NULL, NULL);
string base_token("image_0");
sendToken(base_token + "_height_" + num_to_string((int)width));