commit | a6dd9e8e7eb0d7734b0905a97f6e8b0087a2e09c | [log] [download] |
---|---|---|
author | Jacek Masiulaniec <jacekm@openbsd.org> | Tue Sep 15 18:12:51 2009 +0000 |
committer | Jacek Masiulaniec <jacekm@openbsd.org> | Tue Sep 15 18:12:51 2009 +0000 |
tree | f61cb760bd6842b73988ebf8d92e3f535f318b8d | |
parent | 427819910184a7174391c2e688da6b89634045ec [diff] |
Enclose repeated buffer draining code in a new msgbuf_drain() function, which is additionally exported for use by others. From nicm@, who reminded me that tmux is now using buffer.c, too.