diff --git a/dlls/kernel32/computername.c b/dlls/kernel32/computername.c index dabaae833c6..8650440f3b1 100644 --- a/dlls/kernel32/computername.c +++ b/dlls/kernel32/computername.c @@ -131,8 +131,10 @@ static BOOL dns_fqdn ( char *name, int *size ) { case ENAMETOOLONG: SetLastError ( ERROR_MORE_DATA ); + break; default: SetLastError ( ERROR_INVALID_PARAMETER ); + break; } return FALSE; }