aboutsummaryrefslogtreecommitdiff
path: root/local.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2007-09-29 14:25:49 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2007-09-29 14:25:49 +0000
commit1e316cfc7c0623038f850de1a2f2688497c51914 (patch)
treec9f3d324701eaade5f8463ee4ffe0bad523451ab /local.c
parent653ee721df4b0464803d6cba46376b4fcbd09b82 (diff)
downloadrtmux-1e316cfc7c0623038f850de1a2f2688497c51914.tar.gz
rtmux-1e316cfc7c0623038f850de1a2f2688497c51914.tar.bz2
rtmux-1e316cfc7c0623038f850de1a2f2688497c51914.zip
Lose intermediate handling (unused). Change argument parsing to work properly over multiple buffers by saving a copy of the argument (we can't just save off/len since the buffer may vanish at any point).
Diffstat (limited to 'local.c')
-rw-r--r--local.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/local.c b/local.c
index 7a06af72..ce735545 100644
--- a/local.c
+++ b/local.c
@@ -1,4 +1,4 @@
-/* $Id: local.c,v 1.10 2007-09-29 10:57:39 nicm Exp $ */
+/* $Id: local.c,v 1.11 2007-09-29 14:25:49 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -310,11 +310,13 @@ local_putc(int c)
if (c < 0 || c > (int) UCHAR_MAX)
fatalx("invalid character");
+/* XXX
if (debug_level > 2) {
f = fopen("tmux-out.log", "a+");
fprintf(f, "%c", ch);
fclose(f);
}
+*/
buffer_write(local_out, &ch, 1);
return (c);