separator : ne pas parser argv[2] s'il est nul
This commit is contained in:
parent
c9d485472e
commit
44c60d8bb7
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ int main(int argc, char *argv[]) {
|
|||
name = "";
|
||||
}
|
||||
|
||||
if (argc >= 3) {
|
||||
if (argc >= 3 && *argv[2] != 0) {
|
||||
separation_character = argv[2];
|
||||
} else {
|
||||
separation_character = "=";
|
||||
|
|
Loading…
Reference in a new issue