summary refs log tree commit diff stats
path: root/src/common/outbound.c
diff options
context:
space:
mode:
authorTingPing <tingping@tingping.se>2014-06-21 22:21:12 -0400
committerTingPing <tingping@tingping.se>2014-06-21 22:21:12 -0400
commit45526205abb7ddbf3d21d19b51353d113027118f (patch)
tree566f82d36fe2f80f2eff3f203356c16d9b597e83 /src/common/outbound.c
parent3342af4185eccba3cf5a9c6e2d2d426911afa0c6 (diff)
Remove broken debug code
Diffstat (limited to 'src/common/outbound.c')
-rw-r--r--src/common/outbound.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c
index d23d941d..a36b9880 100644
--- a/src/common/outbound.c
+++ b/src/common/outbound.c
@@ -56,9 +56,6 @@
 #include "outbound.h"
 #include "chanopt.h"
 
-#ifdef USE_DEBUG
-extern int current_mem_usage;
-#endif
 #define TBUFSIZE 4096
 
 static void help (session *sess, char *tbuf, char *helpcmd, int quiet);
@@ -922,10 +919,6 @@ cmd_debug (struct session *sess, char *tbuf, char *word[], char *word_eol[])
 				"current_tab: %p\n\n",
 				sess->server->front_session, current_tab);
 	PrintText (sess, tbuf);
-#ifdef USE_DEBUG
-	sprintf (tbuf, "current mem: %d\n\n", current_mem_usage);
-	PrintText (sess, tbuf);
-#endif  /* !MEMORY_DEBUG */
 
 	return TRUE;
 }