Changeset 615 for vendor/current/source3/web/statuspage.c
- Timestamp:
- Jul 28, 2011, 4:21:02 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/web/statuspage.c
r414 r615 248 248 bool waitup = False; 249 249 TALLOC_CTX *ctx = talloc_stackframe(); 250 const char form_name[] = "status"; 250 251 251 252 smbd_pid = pid_to_procid(pidfile_pid("smbd")); 253 254 if (!verify_xsrf_token(form_name)) { 255 goto output_page; 256 } 252 257 253 258 if (cgi_variable("smbd_restart") || cgi_variable("all_restart")) { … … 327 332 initPid2Machine (); 328 333 334 output_page: 329 335 printf("<H2>%s</H2>\n", _("Server Status")); 330 336 331 337 printf("<FORM method=post>\n"); 338 print_xsrf_token(cgi_user_name(), cgi_user_pass(), form_name); 332 339 333 340 if (!autorefresh) {
Note:
See TracChangeset
for help on using the changeset viewer.