summaryrefslogtreecommitdiff
path: root/www/webalizer/files/patch-ad
blob: d0c305c1ac5737967289ccde81513788f209bb60 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
--- graphs.c.orig	Tue Jun 15 06:33:40 1999
+++ graphs.c	Sat Jul 31 10:43:48 1999
@@ -285,7 +285,7 @@
    /* save gif image */
    if ((out = fopen(fname, "wb")) != NULL)
    {
-      gdImageGif(im, out);
+      gdImagePng(im, out);
       fclose(out);
    }
    /* deallocate memory */
@@ -501,7 +501,7 @@
    /* open file for writing */
    if ((out = fopen(fname, "wb")) != NULL)
    {
-      gdImageGif(im, out);
+      gdImagePng(im, out);
       fclose(out);
    }
    /* deallocate memory */
@@ -614,7 +614,7 @@
    /* save as gif file */
    if ( (out = fopen(fname, "wb")) != NULL)
    {
-      gdImageGif(im, out);
+      gdImagePng(im, out);
       fclose(out);
    }
    /* deallocate memory */
@@ -700,7 +700,7 @@
    /* save gif image */
    if ((out = fopen(fname, "wb")) != NULL)
    {
-      gdImageGif(im, out);
+      gdImagePng(im, out);
       fclose(out);
    }
    /* deallocate memory */