Check-in [87034c1a07]
Overview
Comment:Noted that we should process arguments
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 87034c1a0747ef51844ff9581173ac5051c20f32
User & Date: rkeene on 2014-02-05 09:07:24
Other Links: manifest | tags
Context
2014-02-05
09:12
Updated to support being compiled with dietlibc check-in: a832cf965b user: rkeene tags: trunk
09:07
Noted that we should process arguments check-in: 87034c1a07 user: rkeene tags: trunk
09:06
Reverted default port changed inadvertantly and added comments check-in: 69c6325220 user: rkeene tags: trunk
Changes

Modified filed.c from [aa69ce9535] to [310b7c80ea].

458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
/* Run process */
int main(int argc, char **argv) {
	int port = PORT, thread_count = THREAD_COUNT;
	const char *bind_addr = BIND_ADDR;
	int init_ret;
	int fd;

	/* Ignore */
	argc = argc;
	argv = argv;

	/* Create listening socket */
	fd = filed_listen(bind_addr, port);
	if (fd < 0) {
		perror("filed_listen");







|







458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
/* Run process */
int main(int argc, char **argv) {
	int port = PORT, thread_count = THREAD_COUNT;
	const char *bind_addr = BIND_ADDR;
	int init_ret;
	int fd;

	/* XXX: TODO: Process arguments */
	argc = argc;
	argv = argv;

	/* Create listening socket */
	fd = filed_listen(bind_addr, port);
	if (fd < 0) {
		perror("filed_listen");