Skip to content

Commit

Permalink
last may be NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Mar 9, 2015
1 parent b45ff83 commit f309dad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/command.c
Original file line number Diff line number Diff line change
Expand Up @@ -1497,7 +1497,8 @@ static home_server_t *get_home_server(rad_listen_t *listener, int argc,
return NULL;
}

*last = myarg;
if (last) *last = myarg;

return home;
}

Expand Down

0 comments on commit f309dad

Please sign in to comment.