mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 17:33:09 +00:00
17 lines
421 B
Diff
17 lines
421 B
Diff
diff --git a/dtnetsubs.c b/dtnetsubs.c
|
|
index ad1c30d..c1fda9b 100644
|
|
--- a/dtnetsubs.c
|
|
+++ b/dtnetsubs.c
|
|
@@ -865,10 +865,7 @@ int dtSend (NetFet *fet, const void *buf, int len)
|
|
** Update the IN pointer, then wake the send thread.
|
|
*/
|
|
fet->sendin = in;
|
|
- if (ssemp (fet) != NULL)
|
|
- {
|
|
- sem_post (ssemp (fet));
|
|
- }
|
|
+ sem_post (ssemp (fet));
|
|
|
|
if (dtSendFree (fet) == 0)
|
|
{
|