]> git.pld-linux.org Git - packages/cups.git/blob - cups-gcc34.patch
- url which df can understand
[packages/cups.git] / cups-gcc34.patch
1 --- cups-1.1.20/scripting/php/phpcups.c.orig    2003-08-15 00:29:23.000000000 +0200
2 +++ cups-1.1.20/scripting/php/phpcups.c 2004-05-12 18:25:10.647426632 +0200
3 @@ -818,6 +818,17 @@
4    return(options);
5  }
6  
7 +void _zz_internal_log( char *func, char *line )
8 +{
9 +  FILE *fp;
10 +
11 +  if ((fp = fopen("/var/log/cups/project.log","a")) == NULL)
12 +       return;
13 +
14 +  fprintf(fp,"phpcups: %s - %s\n", func, line );
15 +  fflush(fp);
16 +  fclose(fp);
17 +}
18  
19  /*
20   *  Function:    cups_print_file
21 @@ -1333,21 +1344,6 @@
22    return (num_attrs);
23  }
24  
25 -
26 -void _zz_internal_log( char *func, char *line )
27 -{
28 -  FILE *fp;
29 -
30 -  if ((fp = fopen("/var/log/cups/project.log","a")) == NULL)
31 -       return;
32 -
33 -  fprintf(fp,"phpcups: %s - %s\n", func, line );
34 -  fflush(fp);
35 -  fclose(fp);
36 -}
37 -
38 -
39 -
40  /*
41   * End of "$Id$".
42   */
This page took 0.02932 seconds and 3 git commands to generate.