msvcrt: execl fix when no args are given (reported by Louis Lenders).

This commit is contained in:
Eric Pouech 2007-01-02 14:31:27 +01:00 committed by Alexandre Julliard
parent 361ea6e4dc
commit 262cf1547e
1 changed files with 1 additions and 1 deletions

View File

@ -147,7 +147,7 @@ static char* msvcrt_valisttos(const char* arg0, va_list alist, char delim)
# endif
#endif
if (!arg0 && !delim)
if (!arg0)
{
/* Return NULL for an empty environment list */
return NULL;