Skip to content

Commit

Permalink
Enhance code style
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ortmann committed Nov 19, 2023
1 parent 7fc43cb commit 6dbce8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1001,7 +1001,7 @@ static void init_random(void) {

int main(int arg_c, char **arg_v)
{
int i, xx;
int i, j, xx;
char s[25];
FILE *f;
struct sigaction sv;
Expand Down Expand Up @@ -1136,9 +1136,9 @@ int main(int arg_c, char **arg_v)
i = 0;
for (chan = chanset; chan; chan = chan->next)
i++;
putlog(LOG_MISC, "*", "=== %s: %d channel%s, %d user%s.", botnetnick, i,
(i == 1) ? "" : "s", count_users(userlist),
(count_users(userlist) == 1) ? "" : "s");
j = count_users(userlist);
putlog(LOG_MISC, "*", "=== %s: %d channel%s, %d user%s.",
botnetnick, i, (i == 1) ? "" : "s", j, (j == 1) ? "" : "s");
if ((cliflags & CLI_N) && (cliflags & CLI_T)) {
printf("\n"
"NOTE: The -n flag is no longer used, it is as effective as Han\n"
Expand Down

0 comments on commit 6dbce8c

Please sign in to comment.