mirror of
git://erdgeist.org/opentracker
synced 2025-04-01 02:52:57 +08:00
shutdown was unnecessary
This commit is contained in:
parent
6b329a6959
commit
38432480a1
@ -315,7 +315,6 @@ e404:
|
|||||||
|
|
||||||
bailout:
|
bailout:
|
||||||
io_dontwantread(s);
|
io_dontwantread(s);
|
||||||
shutdown(s, SHUT_RD );
|
|
||||||
io_wantwrite(s);
|
io_wantwrite(s);
|
||||||
|
|
||||||
reply_size=iob_send(s,&h->iob);
|
reply_size=iob_send(s,&h->iob);
|
||||||
@ -327,7 +326,6 @@ bailout:
|
|||||||
array_reset(&h->r);
|
array_reset(&h->r);
|
||||||
iob_reset(&h->iob);
|
iob_reset(&h->iob);
|
||||||
free(h);
|
free(h);
|
||||||
shutdown(s, SHUT_RDWR);
|
|
||||||
io_close(s);
|
io_close(s);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -506,7 +504,6 @@ emerge:
|
|||||||
array_reset(&h->r);
|
array_reset(&h->r);
|
||||||
iob_reset(&h->iob);
|
iob_reset(&h->iob);
|
||||||
free(h);
|
free(h);
|
||||||
shutdown(i, SHUT_RDWR);
|
|
||||||
io_close(i);
|
io_close(i);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user