diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-16 04:50:52 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-09-16 04:50:52 +0000 |
commit | 085e3a2a09108c370ab405e8da839c8eb469588a (patch) | |
tree | 8b31600c87501057663d0c450ecc154af8438b8e /libexec | |
parent | b92038334f67f93c3319be1a8e076954039890eb (diff) |
more unsigned char
Diffstat (limited to 'libexec')
-rw-r--r-- | libexec/ftp-proxy/getline.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libexec/ftp-proxy/getline.c b/libexec/ftp-proxy/getline.c index 2be38834002..97ffd48c6e3 100644 --- a/libexec/ftp-proxy/getline.c +++ b/libexec/ftp-proxy/getline.c @@ -1,4 +1,4 @@ -/* $OpenBSD: getline.c,v 1.15 2003/06/28 01:04:57 deraadt Exp $ */ +/* $OpenBSD: getline.c,v 1.16 2004/09/16 04:50:51 deraadt Exp $ */ /* * Copyright (c) 1985, 1988 Regents of the University of California. @@ -96,7 +96,7 @@ refill_buffer(struct csiob *iobp) /* don't do tiny reads, grow first if we need to */ rqlen = iobp->io_buffer_size - iobp->io_buffer_len; if (rqlen <= 128) { - char *tmp; + unsigned char *tmp; iobp->io_buffer_size += 128; tmp = realloc(iobp->io_buffer, iobp->io_buffer_size); @@ -152,7 +152,7 @@ telnet_getline(struct csiob *iobp, struct csiob *telnet_passthrough) { unsigned char ch; int ix; - char tbuf[100]; + unsigned char tbuf[100]; iobp->line_buffer[0] = '\0'; @@ -236,7 +236,7 @@ telnet_getline(struct csiob *iobp, struct csiob *telnet_passthrough) * nasty. */ if (ix - iobp->next_byte > iobp->line_buffer_size - 5) { - char *tmp; + unsigned char *tmp; iobp->line_buffer_size = 256 + ix - iobp->next_byte; tmp = realloc(iobp->line_buffer, |