Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LSH
lsh
Commits
8a076d2c
Commit
8a076d2c
authored
May 24, 2002
by
Pontus Freyhult
Browse files
A_WRITE consumes what we give it, so we must dup self->msg before feeding it.
Rev: src/io_commands.c:1.52
parent
dc8a4e7d
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/io_commands.c
View file @
8a076d2c
...
...
@@ -449,7 +449,7 @@ do_tcp_wrapper(struct command *s UNUSED,
io_write
(
lv
->
fd
,
1024
,
NULL
);
A_WRITE
(
&
lv
->
fd
->
write_buffer
->
super
,
self
->
msg
);
lsh_string_dup
(
self
->
msg
)
)
;
close_fd_nicely
(
lv
->
fd
);
...
...
Write
Preview
Supports
Markdown
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