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:
parent
2de957db34
commit
303810acaa
@ -15,7 +15,7 @@ char *www_last10() {
|
||||
|
||||
FILE *fptr = fopen("last10v2.dat", "rb");
|
||||
if (fptr != NULL) {
|
||||
for ( ; n < 10; ++n)
|
||||
for (; n < 10; ++n)
|
||||
if (fread(&callers[n], sizeof(callers[n]), 1, fptr) != sizeof(callers[n]))
|
||||
break;
|
||||
fclose(fptr);
|
||||
|
@ -183,8 +183,8 @@ char *www_msgs_messagelist(struct user_record *user, int conference, int area, i
|
||||
stralloc_cats(&page, "</div>\n");
|
||||
if (skip + 50 <= mhrs->msg_count) {
|
||||
snprintf(buffer, sizeof buffer,
|
||||
"<div class=\"msg-summary-next\"><a href=\"%smsgs/%d/%d/?skip=%d\">Next</a></div>\n",
|
||||
conf.www_url, conference, area, skip + 50);
|
||||
"<div class=\"msg-summary-next\"><a href=\"%smsgs/%d/%d/?skip=%d\">Next</a></div>\n",
|
||||
conf.www_url, conference, area, skip + 50);
|
||||
stralloc_cats(&page, buffer);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user