]> git.sur5r.net Git - bacula/bacula/blobdiff - bacula/src/lib/address_conf.c
Win32 fix -- remove debug O_NONBLOCK code
[bacula/bacula] / bacula / src / lib / address_conf.c
index 81fe37a800b05f8042f268d6e81f90269b240d81..81a7b115bd2bc6bf517619920755f9513196495b 100644 (file)
@@ -282,7 +282,7 @@ static int add_address(dlist **out, IPADDR::i_type type, unsigned short defaultp
         } else if (iaddr->get_type() != type) {
            *errstr = (char *)malloc(1024);
            bsnprintf(*errstr, 1023,
-                      "the old style addresses cannot be mixed with new style");
+                      _("the old style addresses cannot be mixed with new style"));
            return 0;
         }
       }
@@ -305,7 +305,7 @@ static int add_address(dlist **out, IPADDR::i_type type, unsigned short defaultp
            port = s->s_port;
         } else {
            *errstr = (char *)malloc(1024);
-            bsnprintf(*errstr, 1023, "can't resolve service(%s)", port_str);
+            bsnprintf(*errstr, 1023, _("can't resolve service(%s)"), port_str);
            return 0;
         }
       }
@@ -315,7 +315,7 @@ static int add_address(dlist **out, IPADDR::i_type type, unsigned short defaultp
    hostaddrs = bnet_host2ipaddrs(hostname_str, family, &myerrstr);
    if (!hostaddrs) {
       *errstr = (char *)malloc(1024);
-      bsnprintf(*errstr, 1023, "can't resolve hostname(%s) %s", hostname_str,
+      bsnprintf(*errstr, 1023, _("can't resolve hostname(%s) %s"), hostname_str,
                myerrstr);
       return 0;
    }