diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-15 18:25:41 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2023-05-15 18:25:41 +0200 |
| commit | 9a640d5f1289803bbfd8dc994712022b032239e0 (patch) | |
| tree | 659035c094a4c5b6dfe83c963a8a367230237e19 | |
| parent | af06b61905cd33eb3318cc83cc73d7119dc3ce60 (diff) | |
| download | sdep-9a640d5f1289803bbfd8dc994712022b032239e0.tar.gz sdep-9a640d5f1289803bbfd8dc994712022b032239e0.zip | |
Fixed new bug
| -rw-r--r-- | sdep.c | 2 |
1 files changed, 2 insertions, 0 deletions
| @@ -156,6 +156,8 @@ format_line(Event ev, Options op, char *out) | |||
| 156 | l = strlen(out); | 156 | l = strlen(out); |
| 157 | 157 | ||
| 158 | str_copy(out+l, op.separator, MAXLEN - l); | 158 | str_copy(out+l, op.separator, MAXLEN - l); |
| 159 | l = strlen(out); | ||
| 160 | |||
| 159 | str_copy(out+l, ev.text, MAXLEN - l); | 161 | str_copy(out+l, ev.text, MAXLEN - l); |
| 160 | 162 | ||
| 161 | return out; | 163 | return out; |
