summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@cvs.openbsd.org>2022-01-11 02:56:20 +0000
committerDarren Tucker <dtucker@cvs.openbsd.org>2022-01-11 02:56:20 +0000
commit9377443ef864cd8ecd3112c5118356e43f4a7b9f (patch)
tree0e83ce9cc6bbe285846eb4daae147783c9262f21
parent215941195f94a783b730e331fa7f68f0dff62e6b (diff)
"void" functions should not return anything. From Tim Rice via -portable.
-rw-r--r--usr.bin/ssh/sftp-server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/sftp-server.c b/usr.bin/ssh/sftp-server.c
index e13ac9609ce..bfa7fc7f337 100644
--- a/usr.bin/ssh/sftp-server.c
+++ b/usr.bin/ssh/sftp-server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sftp-server.c,v 1.136 2022/01/08 07:33:54 djm Exp $ */
+/* $OpenBSD: sftp-server.c,v 1.137 2022/01/11 02:56:19 dtucker Exp $ */
/*
* Copyright (c) 2000-2004 Markus Friedl. All rights reserved.
*
@@ -554,7 +554,7 @@ send_status_errmsg(u_int32_t id, u_int32_t status, const char *errmsg)
static void
send_status(u_int32_t id, u_int32_t status)
{
- return send_status_errmsg(id, status, NULL);
+ send_status_errmsg(id, status, NULL);
}
static void