mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-18 03:28:07 -05:00
Trivial segfault fix from Richard B.
[originally from svn r3036]
This commit is contained in:
parent
2487fdd9b4
commit
ec6d5edb62
@ -174,6 +174,7 @@ int process_nonoption_arg(char *arg, Config *cfg)
|
|||||||
/*
|
/*
|
||||||
* Otherwise, treat this argument as a host name.
|
* Otherwise, treat this argument as a host name.
|
||||||
*/
|
*/
|
||||||
|
p = arg;
|
||||||
while (*p && !isspace((unsigned char)*p))
|
while (*p && !isspace((unsigned char)*p))
|
||||||
p++;
|
p++;
|
||||||
if (*p)
|
if (*p)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user