[Nagios-devel] Patch for trends.c

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
Guest

[Nagios-devel] Patch for trends.c

Post by Guest »

This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig568AB323817B26C5685A8E44
Content-Type: multipart/mixed; boundary="------------000901040507090802010703"

This is a multi-part message in MIME format.
--------------000901040507090802010703
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: quoted-printable

Hi!

For Long time the Image Tag in trends.c had a width=3D900 defined, but th=
e
actual graphics which the CGI produced was only 600 Pixel wide. This
leads to a bad looking graph and wrong Popup Info#s on the graph.

Please find a patch against 3.0.6 release tar ball attached to this mail=
=2E

Thanks for this great peace of software!

cheerio
Steve

--
Steh auf wenn Du am Boden bist! Steh auf auch wenn du unten liegst !
Steh auf, es wird schon irgendwie weitergeh'n. -- DtH, 2002

--------------000901040507090802010703
Content-Type: text/x-patch;
name="trends.c.patch"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline;
filename="trends.c.patch"

Index: nagios-3.0.6/cgi/trends.c
--- nagios-3.0.6/cgi/trends.c.orig 2008-11-30 18:22:58 +0100
+++ nagios-3.0.6/cgi/trends.c 2008-12-18 16:42:37 +0100
@@ -746,7 +746,7 @@
if(backtrack_archives>0)
printf("&backtrack=3D%d",backtrack_archives);
printf("&zoom=3D%d",zoom_factor);
- printf("' BORDER=3D0 name=3D'trendsimage' useMap=3D'#trendsmap' width=
=3D900>\n");
+ printf("' BORDER=3D0 name=3D'trendsimage' useMap=3D'#trendsmap' width=
=3D600>\n");
printf("\n");
}
=20

--------------000901040507090802010703--

--------------enig568AB323817B26C5685A8E44
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAklKdW0ACgkQQftxpMD/nVmjSwCfdusciTHGKPpJiFrpPhYkGmFy
84QAoNGe5Dv4/rCGGZNLCclWhAOIuQPd
=+dCW
-----END PGP SIGNATURE-----

--------------enig568AB323817B26C5685A8E44--





This post was automatically imported from historical nagios-devel mailing list archives
Original poster: [email protected]
Locked