typo fixes
Stefan Schuermans

Stefan Schuermans commited on 2018-08-25 13:28:55
Showing 1 changed files, with 2 additions and 2 deletions.

... ...
@@ -367,7 +367,7 @@ void Config::str2addr(std::string const &str, struct sockaddr_in &addr)
367 367
   }
368 368
   addr.sin_port = htons(port);
369 369
 
370
-  // fin in remaining fields of address structure
370
+  // fill in remaining fields of address structure
371 371
   addr.sin_family = AF_INET;
372 372
 }
373 373
 
... ...
@@ -584,7 +584,7 @@ void Config::proc_distributorAddr(std::vector<std::string> const &setFields,
584 584
     str2addr(valFields[0], addr);
585 585
   } catch (std::exception &ex) {
586 586
     std::stringstream msg;
587
-    msg << "invalid value for \"mdistributorAddr " << distri.getNo() << "\": "
587
+    msg << "invalid value for \"distributorAddr " << distri.getNo() << "\": "
588 588
         << ex.what();
589 589
     throw std::runtime_error(msg.str());
590 590
   }
591 591