diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-09-29 14:25:49 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2007-09-29 14:25:49 +0000 |
commit | 1e316cfc7c0623038f850de1a2f2688497c51914 (patch) | |
tree | c9f3d324701eaade5f8463ee4ffe0bad523451ab /local.c | |
parent | 653ee721df4b0464803d6cba46376b4fcbd09b82 (diff) | |
download | rtmux-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.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |