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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user