diff options
author | nicm <nicm> | 2018-12-17 21:52:59 +0000 |
---|---|---|
committer | nicm <nicm> | 2018-12-17 21:52:59 +0000 |
commit | 4e3d6612845e190a490f40cce79c858dadaee74b (patch) | |
tree | 570ccd334ad1984149bd8ada75d9a8a14982b082 | |
parent | 67254ed8df2434d7c974f66fbdbf3e4c58f61319 (diff) | |
download | rtmux-4e3d6612845e190a490f40cce79c858dadaee74b.tar.gz rtmux-4e3d6612845e190a490f40cce79c858dadaee74b.tar.bz2 rtmux-4e3d6612845e190a490f40cce79c858dadaee74b.zip |
Fix parsing of empty colon-separated fields, reported by Siarhei Siniak.
-rw-r--r-- | input.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1862,7 +1862,8 @@ input_csi_dispatch_sgr_colon(struct input_ctx *ictx, u_int i) free(copy); return; } - } + } else + n++; log_debug("%s: %u = %d", __func__, n - 1, p[n - 1]); } free(copy); |