]> git.sesse.net Git - betaftpd/blobdiff - cmds.h
Fixed a problem where the server might segfault if there was an error occuring while...
[betaftpd] / cmds.h
diff --git a/cmds.h b/cmds.h
index 4b107ea225e82fd1199008ea57994fdc66ca14bc..8075f1c1c1cba5eef1cc6b71b7e3e01cb9418495 100644 (file)
--- a/cmds.h
+++ b/cmds.h
@@ -54,7 +54,7 @@
        }
 #endif
 
-#define CMD_PROTO(cmd) int cmd_ ## cmd (struct conn * const c)
+#define CMD_PROTO(cmd) void cmd_ ## cmd (struct conn * const c)
 
 int do_chdir(struct conn * const c, const char * const newd);
 CMD_PROTO(user);