output_headers(3);
if (prepend_html != NULL) {
- write(WC->http_sock, prepend_html, strlen(prepend_html));
+ http_write(WC->http_sock, prepend_html, strlen(prepend_html));
}
serv_printf("LFLR"); /* FIXME put a real test here */
wprintf("</TD><TD>"
"<A HREF=\"/delete_floor?floornum=%d\">"
"<FONT SIZE=-1>(delete floor)</A>"
- "</FONT><BR><FONT SIZE=-1>"
- "<A HREF=\"/display_editfloorpic&"
- "which_floor=%d\">(edit graphic)</A>",
- floornum, floornum);
+ "</FONT><BR>", floornum
+ );
}
+ wprintf("<FONT SIZE=-1>"
+ "<A HREF=\"/display_editfloorpic&"
+ "which_floor=%d\">(edit graphic)</A>",
+ floornum);
wprintf("</TD></TR></TABLE>");
wprintf("</TD>");