Fossil SCM

Fix the /uv page so that works on Solaris.

drh 2016-08-29 14:15 trunk
Commit 0cd96edc206519eec9d830a5d17eaf8a3bc444f8
1 file changed +2 -1
+2 -1
--- src/doc.c
+++ src/doc.c
@@ -727,11 +727,12 @@
727727
728728
/* Jump here when unable to locate the document */
729729
doc_not_found:
730730
db_end_transaction(0);
731731
if( isUV && P("name")==0 ){
732
- return uvstat_page();
732
+ uvstat_page();
733
+ return;
733734
}
734735
cgi_set_status(404, "Not Found");
735736
style_header("Not Found");
736737
@ <p>Document %h(zOrigName) not found
737738
if( fossil_strcmp(zCheckin,"ckout")!=0 ){
738739
--- src/doc.c
+++ src/doc.c
@@ -727,11 +727,12 @@
727
728 /* Jump here when unable to locate the document */
729 doc_not_found:
730 db_end_transaction(0);
731 if( isUV && P("name")==0 ){
732 return uvstat_page();
 
733 }
734 cgi_set_status(404, "Not Found");
735 style_header("Not Found");
736 @ <p>Document %h(zOrigName) not found
737 if( fossil_strcmp(zCheckin,"ckout")!=0 ){
738
--- src/doc.c
+++ src/doc.c
@@ -727,11 +727,12 @@
727
728 /* Jump here when unable to locate the document */
729 doc_not_found:
730 db_end_transaction(0);
731 if( isUV && P("name")==0 ){
732 uvstat_page();
733 return;
734 }
735 cgi_set_status(404, "Not Found");
736 style_header("Not Found");
737 @ <p>Document %h(zOrigName) not found
738 if( fossil_strcmp(zCheckin,"ckout")!=0 ){
739

Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button