X-Git-Url: https://git.cameronkatri.com/mandoc.git/blobdiff_plain/6d55934c65607a0db77403b6b364af25e7ae1a70..9712be0c6ab0aa2d1baa5449bf191e975946ebdb:/test-fgetln.c diff --git a/test-fgetln.c b/test-fgetln.c index ac225a17..c2abf06d 100644 --- a/test-fgetln.c +++ b/test-fgetln.c @@ -7,5 +7,5 @@ main(void) { size_t sz; fclose(stdin); - return(NULL != fgetln(stdin, &sz)); + return fgetln(stdin, &sz) != NULL; }