Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
085d49d3
Commit
085d49d3
authored
May 26, 2004
by
deuce
Browse files
Switch back to fwrite() we need that buffer!
parent
07a33ff3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/odoors/ODCom.c
src/odoors/ODCom.c
+2
-2
No files found.
src/odoors/ODCom.c
View file @
085d49d3
...
...
@@ -3003,7 +3003,7 @@ keep_going:
}
}
if
(
write
(
STDOUT_FILENO
,
&
btToSend
,
1
)
!=
1
)
if
(
f
write
(
&
btToSend
,
1
,
1
,
stdout
)
!=
1
)
return
(
kODRCGeneralFailure
);
break
;
}
...
...
@@ -3487,7 +3487,7 @@ try_again:
return
(
kODRCGeneralFailure
);
}
retval
=
write
(
STDOUT_FILENO
,
pbtBuffer
+
pos
,
1
);
retval
=
f
write
(
pbtBuffer
+
pos
,
1
,
nSize
-
pos
,
stdout
);
if
(
retval
!=
nSize
-
pos
)
{
od_sleep
(
1
);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment