bsd port (Markus Niemisto)

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@800 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2004-05-12 19:32:15 +00:00
parent fd872598d8
commit 7d3505c55a
9 changed files with 111 additions and 16 deletions

View file

@ -532,7 +532,7 @@ static void gdb_accept(void *opaque, const uint8_t *buf, int size)
/* set short latency */
val = 1;
setsockopt(fd, SOL_TCP, TCP_NODELAY, &val, sizeof(val));
setsockopt(fd, IPPROTO_TCP, TCP_NODELAY, &val, sizeof(val));
s = qemu_mallocz(sizeof(GDBState));
if (!s) {