Check-in [759e9a77b3]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Remove debugging informations
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | scgi
Files: files | file ages | folders
SHA1:759e9a77b381d98c9be40ffd610e9d55a4843816
User & Date: bapt 2015-05-17 22:11:38
Context
2015-05-18
11:43
Style(9) Leaf check-in: 361b4d2c62 user: bapt tags: scgi
2015-05-17
22:11
Remove debugging informations check-in: 759e9a77b3 user: bapt tags: scgi
21:38
Handle EINTR check-in: 2c6dd452d1 user: bapt tags: scgi
Changes

Changes to web/cblogweb.c.

551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
				ucl_object_insert_key(out, ucl_object_frombool(true), "viewsource", 0, false);
			snprintf(cspath, MAXPATHLEN, "%s/default.cs", tplpath);
			khttp_head(&r, kresps[KRESP_STATUS],
			    "%s", khttps[KHTTP_200]);
			break;
	}

	warnx("%s", ucl_object_emit(out, UCL_EMIT_JSON));
	khttp_body(&r);
	bzero(&tpl, sizeof(tpl));
	tpl.udata = &r;
	tpl.data = out;
	tpl.addchar = &cblog_putc;
	tpl.addstr = &cblog_puts;
	ucltpl_process_file(&tpl, cspath);

	sqlite3_close(sqlite);
	khttp_free(&r);
	exit(0);
}







<












551
552
553
554
555
556
557

558
559
560
561
562
563
564
565
566
567
568
569
				ucl_object_insert_key(out, ucl_object_frombool(true), "viewsource", 0, false);
			snprintf(cspath, MAXPATHLEN, "%s/default.cs", tplpath);
			khttp_head(&r, kresps[KRESP_STATUS],
			    "%s", khttps[KHTTP_200]);
			break;
	}


	khttp_body(&r);
	bzero(&tpl, sizeof(tpl));
	tpl.udata = &r;
	tpl.data = out;
	tpl.addchar = &cblog_putc;
	tpl.addstr = &cblog_puts;
	ucltpl_process_file(&tpl, cspath);

	sqlite3_close(sqlite);
	khttp_free(&r);
	exit(0);
}