Skip to content

Commit

Permalink
Remove accidental non-standard alternative token 'or'
Browse files Browse the repository at this point in the history
  • Loading branch information
bonsaiviking committed Apr 6, 2015
1 parent df26fa8 commit be9793f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion TargetGroup.cc
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ NetBlock *NetBlockHostname::resolve() const {
return NULL;

sp = first_af_address(&resolvedaddrs, this->af);
if (sp == NULL or sp->ss_family != this->af) {
if (sp == NULL || sp->ss_family != this->af) {
switch (this->af) {
case AF_INET:
error("Warning: Hostname %s resolves, but not to any IPv4 address. Try scanning with -6", this->hostname.c_str());
Expand Down

0 comments on commit be9793f

Please sign in to comment.