2006-10-01 06:43:38 -04:00
|
|
|
$OpenBSD: patch-cgi-bin_admin_c,v 1.2 2006/10/01 10:43:38 mbalmer Exp $
|
|
|
|
--- cgi-bin/admin.c.orig Wed Sep 20 10:51:31 2006
|
|
|
|
+++ cgi-bin/admin.c Wed Sep 20 10:52:38 2006
|
|
|
|
@@ -237,7 +237,7 @@ do_am_class(http_t *http, /* I - HTTP c
|
|
|
|
*response; /* IPP response */
|
2005-01-16 07:36:42 -05:00
|
|
|
ipp_attribute_t *attr; /* member-uris attribute */
|
|
|
|
char uri[HTTP_MAX_URI]; /* Device or printer URI */
|
|
|
|
- const char *name, /* Pointer to class name */
|
|
|
|
+ const signed char *name, /* Pointer to class name */
|
|
|
|
*ptr; /* Pointer to CGI variable */
|
2006-10-01 06:43:38 -04:00
|
|
|
const char *title; /* Title of page */
|
|
|
|
static const char * const pattrs[] = /* Requested printer attributes */
|
|
|
|
@@ -517,7 +517,7 @@ do_am_printer(http_t *http, /* I - HTTP
|
|
|
|
*uriptr; /* Pointer into URI */
|
2005-01-16 07:36:42 -05:00
|
|
|
int maxrate; /* Maximum baud rate */
|
|
|
|
char baudrate[255]; /* Baud rate string */
|
|
|
|
- const char *name, /* Pointer to class name */
|
|
|
|
+ const signed char *name, /* Pointer to class name */
|
|
|
|
*ptr; /* Pointer to CGI variable */
|
2006-10-01 06:43:38 -04:00
|
|
|
const char *title; /* Title of page */
|
2005-01-16 07:36:42 -05:00
|
|
|
static int baudrates[] = /* Baud rates */
|