zynk is removing double spaces in responses now.
This commit is contained in:
parent
2247b9a480
commit
19329f1201
1 changed files with 6 additions and 0 deletions
6
zynk.c
6
zynk.c
|
|
@ -657,6 +657,12 @@ static void strip_formatting(char *s) {
|
|||
*dst++ = *src++;
|
||||
}
|
||||
*dst = 0;
|
||||
src = start; dst = start;
|
||||
while (*src) {
|
||||
if (*src == ' ' && *(src+1) == ' ') { src++; continue; }
|
||||
*dst++ = *src++;
|
||||
}
|
||||
*dst = 0;
|
||||
}
|
||||
|
||||
/* ---- curl helper ---- */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue