projects
/
citadel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Cleanup and added funny joke haha
[citadel.git]
/
ctdlsh
/
src
/
main.c
diff --git
a/ctdlsh/src/main.c
b/ctdlsh/src/main.c
index 33ccbda4fae732e90f40c1040e429da4f4840d87..f996e68ec756e2c4b55e16b43fdfa6737818623e 100644
(file)
--- a/
ctdlsh/src/main.c
+++ b/
ctdlsh/src/main.c
@@
-1,5
+1,5
@@
/*
/*
- * (c) 2009-201
1
by Art Cancro and citadel.org
+ * (c) 2009-201
2
by Art Cancro and citadel.org
* This program is released under the terms of the GNU General Public License v3.
*/
* This program is released under the terms of the GNU General Public License v3.
*/
@@
-80,7
+80,6
@@
char **ctdlsh_completion(const char *text, int start, int end) {
}
}
-
void do_main_loop(int server_socket) {
char *cmd = NULL;
char prompt[1024];
void do_main_loop(int server_socket) {
char *cmd = NULL;
char prompt[1024];
@@
-125,6
+124,10
@@
void do_main_loop(int server_socket) {
}
}
}
}
+
+/*
+ * If you don't know what main() does by now you probably shouldn't be reading this code.
+ */
int main(int argc, char **argv)
{
int server_socket = 0;
int main(int argc, char **argv)
{
int server_socket = 0;