cmd/tests: Don't convert lines with DOS endings in convert_input_data.
This commit is contained in:
parent
29b57ca82d
commit
f00aafae85
|
@ -47,7 +47,8 @@ static const char* convert_input_data(const char *data, DWORD size, DWORD *new_s
|
|||
for (i = 0; i < size; i++) {
|
||||
switch (data[i]) {
|
||||
case '\n':
|
||||
*ptr++ = '\r';
|
||||
if (data[i-1] != '\r')
|
||||
*ptr++ = '\r';
|
||||
*ptr++ = '\n';
|
||||
break;
|
||||
case '@':
|
||||
|
|
Loading…
Reference in New Issue