Trivial formatting cleanups

Just another clang-format run to catch regressions that
have snuck in via other patches.

Signed-off-by: Dan Cross <patchdev@fat-dragon.org>
This commit is contained in:
Dan Cross 2018-10-13 20:31:18 +00:00 committed by Andrew Pamment
parent 2de957db34
commit 303810acaa
2 changed files with 16 additions and 16 deletions

View File

@ -15,7 +15,7 @@ char *www_last10() {
FILE *fptr = fopen("last10v2.dat", "rb"); FILE *fptr = fopen("last10v2.dat", "rb");
if (fptr != NULL) { if (fptr != NULL) {
for ( ; n < 10; ++n) for (; n < 10; ++n)
if (fread(&callers[n], sizeof(callers[n]), 1, fptr) != sizeof(callers[n])) if (fread(&callers[n], sizeof(callers[n]), 1, fptr) != sizeof(callers[n]))
break; break;
fclose(fptr); fclose(fptr);

View File

@ -183,8 +183,8 @@ char *www_msgs_messagelist(struct user_record *user, int conference, int area, i
stralloc_cats(&page, "</div>\n"); stralloc_cats(&page, "</div>\n");
if (skip + 50 <= mhrs->msg_count) { if (skip + 50 <= mhrs->msg_count) {
snprintf(buffer, sizeof buffer, snprintf(buffer, sizeof buffer,
"<div class=\"msg-summary-next\"><a href=\"%smsgs/%d/%d/?skip=%d\">Next</a></div>\n", "<div class=\"msg-summary-next\"><a href=\"%smsgs/%d/%d/?skip=%d\">Next</a></div>\n",
conf.www_url, conference, area, skip + 50); conf.www_url, conference, area, skip + 50);
stralloc_cats(&page, buffer); stralloc_cats(&page, buffer);
} }