Skip to content

Commit 9d3424a

Browse files
committed
cleanup for PR removed error
1 parent 1ff1aa7 commit 9d3424a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/server.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2591,7 +2591,7 @@ int main(int argc, char ** argv) {
25912591
return false;
25922592
};
25932593

2594-
auto middleware_server_state = [&res_error, &state](const httplib::Request &, httplib::Response & res) {
2594+
auto middleware_server_state = [&state](const httplib::Request &, httplib::Response & res) {
25952595
server_state current_state = state.load();
25962596
if (current_state == SERVER_STATE_LOADING_MODEL) {
25972597
res.set_content("<html><body>The model is loading. Please wait.<br/>The user interface will appear soon.</body></html>", "text/html; charset=utf-8");

0 commit comments

Comments
 (0)