]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/address_conf.c
Add the updated version of the the win32 pathname fix.
[bacula/bacula] / bacula / src / lib / address_conf.c
index 472afcec97aad9e6ff362afa60af3729a17b901a..76057c9282be96b98a67433138d7076e119d23e5 100644 (file)
@@ -431,7 +431,7 @@ void store_addresses(LEX * lc, RES_ITEM * item, int index, int pass)
       }
       token = lex_get_token(lc, T_SKIP_EOL);
       if (token != T_BOB) {
-         scan_err1(lc, _("Expected a block beginn { , got: %s"), lc->str);
+         scan_err1(lc, _("Expected a block begin { , got: %s"), lc->str);
       }
       token = lex_get_token(lc, T_SKIP_EOL);
       exist = EMPTYLINE;
@@ -505,7 +505,7 @@ void store_addresses_address(LEX * lc, RES_ITEM * item, int index, int pass)
 
    int token = lex_get_token(lc, T_SKIP_EOL);
    if (!(token == T_UNQUOTED_STRING || token == T_NUMBER || token == T_IDENTIFIER)) {
-      scan_err1(lc, _("Expected a hostname or IP nummer, got: %s"), lc->str);
+      scan_err1(lc, _("Expected an IP number or a hostname, got: %s"), lc->str);
    }
    char *errstr;
    if (pass == 1 && !add_address((dlist **) (item->value), IPADDR::R_SINGLE_ADDR,