Fixed a char/NULL comparison.
This commit is contained in:
parent
0dc07e2d23
commit
db92536cfd
|
@ -342,7 +342,7 @@ int pop_driver(char **drivers, char **single, int *length)
|
|||
*single = *drivers;
|
||||
*length = 0;
|
||||
|
||||
while ((*drivers[0] != NULL) && (*drivers[0] != '+'))
|
||||
while ((*drivers[0] != '\0') && (*drivers[0] != '+'))
|
||||
{
|
||||
(*drivers)++;
|
||||
(*length)++;
|
||||
|
|
Loading…
Reference in New Issue