Fossil SCM
Fix a compiler warning and reduce the indentation for nested synclog display on the /urllist page.
Commit
59bd2ec738a381cd7f09b897538b30ad85b6c52a73241db6d5f5d3350843135e
Parent
8a2b980d0d1a288…
1 file changed
+1
-1
+1
-1
| --- src/stat.c | ||
| +++ src/stat.c | ||
| @@ -544,11 +544,11 @@ | ||
| 544 | 544 | return; |
| 545 | 545 | } |
| 546 | 546 | |
| 547 | 547 | if( db_table_exists("repository","synclog") ){ |
| 548 | 548 | /* This code derived from the "synclog" command in "sync.c" */ |
| 549 | - const nIndent = 3; | |
| 549 | + const int nIndent = 2; | |
| 550 | 550 | db_prepare(&q, |
| 551 | 551 | "WITH allpull(xfrom,xto,xtime) AS MATERIALIZED (\n" |
| 552 | 552 | " SELECT sfrom, sto, max(stime) FROM synclog GROUP BY 1\n" |
| 553 | 553 | "),\n" |
| 554 | 554 | "pull(level, url, mtime, ex) AS (\n" |
| 555 | 555 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -544,11 +544,11 @@ | |
| 544 | return; |
| 545 | } |
| 546 | |
| 547 | if( db_table_exists("repository","synclog") ){ |
| 548 | /* This code derived from the "synclog" command in "sync.c" */ |
| 549 | const nIndent = 3; |
| 550 | db_prepare(&q, |
| 551 | "WITH allpull(xfrom,xto,xtime) AS MATERIALIZED (\n" |
| 552 | " SELECT sfrom, sto, max(stime) FROM synclog GROUP BY 1\n" |
| 553 | "),\n" |
| 554 | "pull(level, url, mtime, ex) AS (\n" |
| 555 |
| --- src/stat.c | |
| +++ src/stat.c | |
| @@ -544,11 +544,11 @@ | |
| 544 | return; |
| 545 | } |
| 546 | |
| 547 | if( db_table_exists("repository","synclog") ){ |
| 548 | /* This code derived from the "synclog" command in "sync.c" */ |
| 549 | const int nIndent = 2; |
| 550 | db_prepare(&q, |
| 551 | "WITH allpull(xfrom,xto,xtime) AS MATERIALIZED (\n" |
| 552 | " SELECT sfrom, sto, max(stime) FROM synclog GROUP BY 1\n" |
| 553 | "),\n" |
| 554 | "pull(level, url, mtime, ex) AS (\n" |
| 555 |