1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-04-10 15:48:06 -05:00

Trivial segfault fix from Richard B.

[originally from svn r3036]
This commit is contained in:
Simon Tatham 2003-03-31 12:57:36 +00:00
parent 2487fdd9b4
commit ec6d5edb62

View File

@ -174,6 +174,7 @@ int process_nonoption_arg(char *arg, Config *cfg)
/*
* Otherwise, treat this argument as a host name.
*/
p = arg;
while (*p && !isspace((unsigned char)*p))
p++;
if (*p)