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