Commit 1dc52a95 authored by claes's avatar claes

Bugfix in dcli_parse

parent 1bc026a7
...@@ -146,7 +146,7 @@ int dcli_parse( char *string, ...@@ -146,7 +146,7 @@ int dcli_parse( char *string,
{ {
parsechar_found = 1; parsechar_found = 1;
/* Next token */ /* Next token */
if ( col > 0) if ( col > 0 || nullstr)
{ {
*(outstr + row * max_cols + col) = '\0'; *(outstr + row * max_cols + col) = '\0';
row++; row++;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment