]> code.citadel.org Git - citadel.git/blobdiff - ctdlsh/src/datetime.c
removed all of the gnu autofoo crap from ctdlsh
[citadel.git] / ctdlsh / src / datetime.c
diff --git a/ctdlsh/src/datetime.c b/ctdlsh/src/datetime.c
deleted file mode 100644 (file)
index 38a4456..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-/*
- * (c) 2009-2011 by Art Cancro and citadel.org
- * This program is open source software, released under the terms of the GNU General Public License v3.
- * It runs really well on the Linux operating system.
- * We love open source software but reject Richard Stallman's linguistic fascism.
- */
-
-#include "ctdlsh.h"
-
-int cmd_datetime(int server_socket, char *cmdbuf) {
-       char buf[1024];
-       time_t now;
-
-       sock_puts(server_socket, "TIME");
-       sock_getln(server_socket, buf, sizeof buf);
-       now = atol(&buf[4]);
-       printf("%s", asctime(localtime(&now)));
-       return(cmdret_ok);
-}
-
-
-
-