A couple more spacing fixes.

This commit is contained in:
nicm 2021-08-20 20:08:30 +00:00
parent caa8703a23
commit d589be6c65
3 changed files with 6 additions and 6 deletions

View File

@ -148,7 +148,7 @@ args_vector(struct args *args, int *argc, char ***argv)
static void printflike(3, 4) static void printflike(3, 4)
args_print_add(char **buf, size_t *len, const char *fmt, ...) args_print_add(char **buf, size_t *len, const char *fmt, ...)
{ {
va_list ap; va_list ap;
char *s; char *s;
size_t slen; size_t slen;
@ -181,7 +181,7 @@ args_print_add_argument(char **buf, size_t *len, const char *argument)
char * char *
args_print(struct args *args) args_print(struct args *args)
{ {
size_t len; size_t len;
char *buf; char *buf;
int i; int i;
u_int j; u_int j;
@ -376,7 +376,7 @@ args_strtonum(struct args *args, u_char flag, long long minval,
long long maxval, char **cause) long long maxval, char **cause)
{ {
const char *errstr; const char *errstr;
long long ll; long long ll;
struct args_entry *entry; struct args_entry *entry;
struct args_value *value; struct args_value *value;
@ -418,7 +418,7 @@ args_string_percentage(const char *value, long long minval, long long maxval,
long long curval, char **cause) long long curval, char **cause)
{ {
const char *errstr; const char *errstr;
long long ll; long long ll;
size_t valuelen = strlen(value); size_t valuelen = strlen(value);
char *copy; char *copy;

View File

@ -579,7 +579,7 @@ cmd_parse_get_error(const char *file, u_int line, const char *error)
if (file == NULL) if (file == NULL)
s = xstrdup(error); s = xstrdup(error);
else else
xasprintf (&s, "%s:%u: %s", file, line, error); xasprintf(&s, "%s:%u: %s", file, line, error);
return (s); return (s);
} }

View File

@ -2085,7 +2085,7 @@ static void *
format_cb_session_windows(struct format_tree *ft) format_cb_session_windows(struct format_tree *ft)
{ {
if (ft->s != NULL) if (ft->s != NULL)
return (format_printf ("%u", winlink_count(&ft->s->windows))); return (format_printf("%u", winlink_count(&ft->s->windows)));
return (NULL); return (NULL);
} }