Commit 39e9dd08 authored by Niels Möller's avatar Niels Möller
Browse files

* src/server.c (format_service_accept): Moved function here, from

service.c.

Rev: src/server.c:1.65
parent bfde19c8
......@@ -34,7 +34,6 @@
#include "read_line.h"
#include "read_packet.h"
#include "reaper.h"
#include "service.h"
#include "ssh.h"
#include "unpad.h"
#include "werror.h"
......@@ -47,6 +46,22 @@
#include "server.c.x"
static struct lsh_string *
format_service_accept(int name)
{
return ssh_format("%c%a", SSH_MSG_SERVICE_ACCEPT, name);
}
#if DATAFELLOWS_WORKAROUNDS
static struct lsh_string *
format_service_accept_kludge(void)
{
return ssh_format("%c", SSH_MSG_SERVICE_ACCEPT);
}
#endif /* DATAFELLOWS_WORKAROUNDS */
/* GABA:
(class
(name service_handler)
......@@ -57,13 +72,6 @@
(e object exception_handler)))
*/
#if DATAFELLOWS_WORKAROUNDS
static struct lsh_string *format_service_accept_kludge(void)
{
return ssh_format("%c", SSH_MSG_SERVICE_ACCEPT);
}
#endif /* DATAFELLOWS_WORKAROUNDS */
static void
do_service_request(struct packet_handler *c,
struct ssh_connection *connection,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment