Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
LSH
lsh
Commits
af523d38
Commit
af523d38
authored
Dec 27, 1998
by
Niels Möller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* server.c (do_line): Compression support.
Rev: src/server.c:1.35
parent
d5e2753e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
src/server.c
src/server.c
+11
-11
No files found.
src/server.c
View file @
af523d38
/* server.c
*
*
*
* $Id$ */
...
...
@@ -40,10 +38,7 @@
#include "version.h"
#include "werror.h"
#include "xalloc.h"
#ifndef _GNU_SOURCE
#warning _GNU_SOURCE undefined
#endif
#include "compress.h"
#include <assert.h>
#include <string.h>
...
...
@@ -188,11 +183,16 @@ static struct read_handler *do_line(struct line_handler **h,
#endif
)
{
struct
read_handler
*
new
=
make_read_packet
(
make_packet_unpad
(
make_packet_debug
(
&
closure
->
connection
->
super
,
"received"
)),
closure
->
connection
);
struct
read_handler
*
new
=
make_read_packet
(
make_packet_unpad
(
make_packet_inflate
(
make_packet_debug
(
&
closure
->
connection
->
super
,
"received"
),
closure
->
connection
)
),
closure
->
connection
);
closure
->
connection
->
client_version
=
ssh_format
(
"%ls"
,
length
,
line
);
...
...
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