Permalink
Browse files

Wording fix

Patch by: michaelortmann
  • Loading branch information...
michaelortmann authored and vanosg committed Dec 1, 2018
1 parent 6e1a6e2 commit f190a759309c4526889607733ebcf2f0ef553ad3
Showing with 10 additions and 6 deletions.
  1. +10 −6 src/mod/blowfish.mod/blowfish.c
@@ -147,12 +147,16 @@ static void blowfish_report(int idx, int details)
tot++;
dprintf(idx, " Blowfish encryption module:\n");
dprintf(idx, " %d of %d boxes in use: ", tot, BOXES);
for (i = 0; i < BOXES; i++)
if (box[i].P != NULL) {
dprintf(idx, "(age: %d) ", now - box[i].lastuse);
}
dprintf(idx, "\n");
if (!tot)
dprintf(idx, " 0 of %d boxes in use\n", BOXES);
else {
dprintf(idx, " %d of %d boxes in use:", tot, BOXES);
for (i = 0; i < BOXES; i++)
if (box[i].P != NULL) {
dprintf(idx, " (age: %d)", now - box[i].lastuse);
}
dprintf(idx, "\n");
}
dprintf(idx, " Using %d byte%s of memory\n", size,
(size != 1) ? "s" : "");
}

0 comments on commit f190a75

Please sign in to comment.