]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
unsigned char -> char
authorMark Andrews <marka@isc.org>
Fri, 25 Jan 2002 03:12:07 +0000 (03:12 +0000)
committerMark Andrews <marka@isc.org>
Fri, 25 Jan 2002 03:12:07 +0000 (03:12 +0000)
bin/named/builtin.c

index f989089a664673f3d57de2b14c68407811893e3f..a84833a5a5fe2de2098d0db8be61ee5a98a9d791 100644 (file)
@@ -15,7 +15,7 @@
  * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: builtin.c,v 1.1 2001/11/20 01:14:56 gson Exp $ */
+/* $Id: builtin.c,v 1.2 2002/01/25 03:12:07 marka Exp $ */
 
 /*
  * The built-in "version", "hostname", and "authors" databases.
@@ -105,7 +105,7 @@ do_hostname_lookup(dns_sdblookup_t *lookup) {
                else
                        return (put_txt(lookup, ns_g_server->hostname));
        } else {
-               unsigned char buf[256];
+               char buf[256];
                isc_result_t result = ns_os_gethostname(buf, sizeof(buf));
                if (result != ISC_R_SUCCESS)
                        return (result);