1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-19 12:49:02 +00:00

Swap the order of singular and plural in reason string constructor.

All the definitions were backwards.
This commit is contained in:
david
2011-05-29 06:18:57 +00:00
parent 7a2c4b8cd2
commit fa3d5f678a
2 changed files with 3 additions and 3 deletions

View File

@@ -110,7 +110,7 @@ reason_string::reason_string(){
this->plural = "unknown";
this->singular = this->plural;
}
reason_string::reason_string(const char * plural, const char * singular){
reason_string::reason_string(const char * singular, const char * plural){
this->plural = plural;
this->singular = singular;
};

View File

@@ -116,9 +116,9 @@ class reason_string {
public:
//Required for map
reason_string();
reason_string(const char * plural, const char * singular);
const char * plural;
reason_string(const char * singular, const char * plural);
const char * singular;
const char * plural;
};
/* stored inside a Port Object and describes