Changeset 415 for trunk/src/sh_html.c
- Timestamp:
- Nov 1, 2012, 7:45:54 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_html.c
r383 r415 503 503 } 504 504 505 int sh_html_zero() 506 { 507 long fd; 508 509 SL_ENTER(_("sh_html_zero")); 510 511 if (0 != (fd = tf_trust_check (DEFAULT_HTML_FILE, SL_YESPRIV))) 512 { 513 SL_RETURN((-1), _("sh_html_zero")); 514 } 515 516 fd = sl_open_write_trunc (FIL__, __LINE__, DEFAULT_HTML_FILE, SL_YESPRIV); 517 518 if (SL_ISERROR(fd)) 519 { 520 SL_RETURN((-1), _("sh_html_zero")); 521 } 522 523 sh_html_head(fd); 524 sh_html_foot(fd); 525 526 sl_close(fd); 527 528 SL_RETURN((0), _("sh_html_zero")); 529 } 530 505 531 /* SH_WITH_SERVER */ 506 532 #endif
Note:
See TracChangeset
for help on using the changeset viewer.