projects
/
ccan
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
ccan/io: io_close_cb()
[ccan]
/
ccan
/
io
/
test
/
run-10-many-DEBUG.c
1
#define DEBUG
2
#define PORT "64010"
3
#define main real_main
4
int real_main(void);
5
#include "run-10-many.c"
6
#undef main
7
/* We stack overflow if we debug all of them! */
8
static bool debug_one(struct io_conn *conn)
9
{
10
return conn == buf[1].reader;
11
}
12
int main(void) { io_debug = debug_one; return real_main(); }