Convert skip_ctl_c_seq() and its callers (except strip_ansi()) from unsigned char to char

This should make no functional difference, and cuts out a large number of
unsigned char * / char * mismatch warnings.
This commit is contained in:
Kevin Easton
2015-06-17 22:50:49 +10:00
parent 563493dd6a
commit d0b0a95330
10 changed files with 83 additions and 90 deletions

View File

@@ -579,17 +579,15 @@ int logmsg(unsigned long log_type, char *from, int flag, char *format, ...)
char *filename = NULL;
char *expand = NULL;
char *type = NULL;
unsigned char **lines = NULL;
char **lines = NULL;
char msglog_buffer[BIG_BUFFER_SIZE+1];
if (!get_string_var(MSGLOGFILE_VAR) || !get_string_var(CTOOLZ_DIR_VAR))
return 0;
t = now;
timestr = update_clock(GET_TIME);
if (format)
{
va_list ap;
@@ -598,7 +596,6 @@ int logmsg(unsigned long log_type, char *from, int flag, char *format, ...)
va_end(ap);
}
switch (flag)
{
case 0: