Commit b8f9ad4a authored by Niels Möller's avatar Niels Möller

Added language arg to format_disconnect.

Rev: src/disconnect.c:1.6
Rev: src/disconnect.h:1.3
parent a56b8a31
......@@ -30,12 +30,12 @@
#include "werror.h"
#include "xalloc.h"
struct lsh_string *format_disconnect(int code, char *msg)
struct lsh_string *format_disconnect(int code, char *msg, char *language)
{
return ssh_format("%c%i%z%z",
SSH_MSG_DISCONNECT,
code,
msg, "");
msg, language);
}
static int do_disconnect(struct packet_handler *closure,
......
......@@ -26,7 +26,7 @@
#include "lsh_types.h"
struct lsh_string *format_disconnect(int code, char *msg);
struct lsh_string *format_disconnect(int code, char *msg, char *language);
struct packet_handler *make_disconnect_handler(void);
#endif /* LSH_DISCONNECT_H_INCLUDED */
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