comment termination bit

This commit is contained in:
nhmall
2015-04-25 15:49:14 -04:00
parent 07c5467434
commit 8624709c0d

View File

@@ -311,8 +311,8 @@ checkfile(inp, pm, user_typed_name, without_asking)
}
/*
* If someone passed us garbage, prevent fault
*
* If someone passed us garbage, prevent fault.
*/
if (!inp || (inp && strlen(inp) > (BUFSZ - 1))) {
pline("bad do_look buffer passed!");
return;