diff options
author | David Lamparter <equinox@opensourcerouting.org> | 2014-06-04 06:53:35 +0200 |
---|---|---|
committer | David Lamparter <equinox@opensourcerouting.org> | 2014-06-04 06:58:02 +0200 |
commit | 6b0655a25194c7c0331154edaa6124cf783e5e5e (patch) | |
tree | c0c7d479f2684531249668210da27a60322ba395 /lib/smux.c | |
parent | build: Quagga 0.99.23-rc1 (diff) | |
download | frr-6b0655a25194c7c0331154edaa6124cf783e5e5e.tar.xz frr-6b0655a25194c7c0331154edaa6124cf783e5e5e.zip |
*: nuke ^L (page feed)
Quagga sources have inherited a slew of Page Feed (^L, \xC) characters
from ancient history. Among other things, these break patchwork's
XML-RPC API because \xC is not a valid character in XML documents.
Nuke them from high orbit.
Patches can be adapted simply by:
sed -e 's%^L%%' -i filename.patch
(you can type page feeds in some environments with Ctrl-V Ctrl-L)
Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
Diffstat (limited to 'lib/smux.c')
-rw-r--r-- | lib/smux.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/smux.c b/lib/smux.c index 074664001..70be49289 100644 --- a/lib/smux.c +++ b/lib/smux.c @@ -78,7 +78,7 @@ struct subtree enum smux_event {SMUX_SCHEDULE, SMUX_CONNECT, SMUX_READ}; void smux_event (enum smux_event, int); - + /* SMUX socket. */ int smux_sock = -1; @@ -114,7 +114,7 @@ static struct cmd_node smux_node = /* thread master */ static struct thread_master *master; - + static int oid_compare_part (oid *o1, int o1_len, oid *o2, int o2_len) { @@ -132,7 +132,7 @@ oid_compare_part (oid *o1, int o1_len, oid *o2, int o2_len) return 0; } - + static void smux_oid_dump (const char *prefix, const oid *oid, size_t oid_len) { @@ -1230,7 +1230,7 @@ smux_stop (void) smux_sock = -1; } } - + void @@ -1251,7 +1251,7 @@ smux_event (enum smux_event event, int sock) break; } } - + static int smux_str2oid (const char *str, oid *oid, size_t *oid_len) { |