aboutsummaryrefslogtreecommitdiff
path: root/server-fn.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2010-03-27 15:12:56 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2010-03-27 15:12:56 +0000
commit401291730271242da8eaa574743b86285ef0e478 (patch)
tree81f99f18155d1c44f6c6030a58806cbc1d41f452 /server-fn.c
parentdd7abd9b4cc864fffbf20ed433549e684431c4e9 (diff)
downloadrtmux-401291730271242da8eaa574743b86285ef0e478.tar.gz
rtmux-401291730271242da8eaa574743b86285ef0e478.tar.bz2
rtmux-401291730271242da8eaa574743b86285ef0e478.zip
Nuke unused functions.
Diffstat (limited to 'server-fn.c')
-rw-r--r--server-fn.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/server-fn.c b/server-fn.c
index 30bc2bb1..aedd1374 100644
--- a/server-fn.c
+++ b/server-fn.c
@@ -1,4 +1,4 @@
-/* $Id: server-fn.c,v 1.102 2010-01-25 17:13:43 tcunha Exp $ */
+/* $Id: server-fn.c,v 1.103 2010-03-27 15:12:56 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -43,15 +43,6 @@ server_fill_environ(struct session *s, struct environ *env)
}
void
-server_write_error(struct client *c, const char *msg)
-{
- struct msg_print_data printdata;
-
- strlcpy(printdata.msg, msg, sizeof printdata.msg);
- server_write_client(c, MSG_ERROR, &printdata, sizeof printdata);
-}
-
-void
server_write_client(
struct client *c, enum msgtype type, const void *buf, size_t len)
{