Skip to content

Commit

Permalink
removed "Success" string when failed.
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-eckstein committed May 3, 2012
1 parent 0b437be commit d733a5b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/resolver/query_processor.cc
Expand Up @@ -104,7 +104,7 @@ void QueryProcessor::validateHostname(char* domainName){

//check if the size is greater then 128
if(sName.size() > 128){
perror("Invalid Hostname. Hostname too big.");
error("Invalid Hostname. Hostname too big.");
exit(0);
}

Expand All @@ -125,7 +125,7 @@ void QueryProcessor::validateHostname(char* domainName){
}

if(period_count < 2 || isInvalid==true){
perror("Invalid hostname.");
error("Invalid hostname.");
exit(0);
}

Expand Down

0 comments on commit d733a5b

Please sign in to comment.