summaryrefslogtreecommitdiffstats
path: root/network/error.c
diff options
context:
space:
mode:
Diffstat (limited to 'network/error.c')
-rw-r--r--network/error.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/network/error.c b/network/error.c
index ec3f9298..a4b38190 100644
--- a/network/error.c
+++ b/network/error.c
@@ -38,13 +38,6 @@ DBusHandlerResult err_unknown_connection(DBusConnection *conn,
"Unknown connection path"));
}
-DBusHandlerResult err_generic(DBusConnection *conn, DBusMessage *msg,
- const char *name, const char *str)
-{
- return send_message_and_unref(conn,
- dbus_message_new_error(msg, name, str));
-}
-
DBusHandlerResult err_does_not_exist(DBusConnection *conn, DBusMessage *msg,
const char *str)
{