diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-09-27 19:36:14 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-09-27 19:36:14 +0000 |
commit | 9cefd9c5522797b132749ca7d99a930007d28347 (patch) | |
tree | 63aa5de219bbd5f0d23f5f0affd418eee5bdd494 /src/nat | |
parent | a6a4bf9797ecf078179a102f52d1e30a4987bf03 (diff) | |
download | gnunet-9cefd9c5522797b132749ca7d99a930007d28347.tar.gz gnunet-9cefd9c5522797b132749ca7d99a930007d28347.zip |
-converting more places to use STRINGS_relative_time_to_string
Diffstat (limited to 'src/nat')
-rw-r--r-- | src/nat/nat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nat/nat.c b/src/nat/nat.c index 80d0fc2bd..eeafc5b97 100644 --- a/src/nat/nat.c +++ b/src/nat/nat.c | |||
@@ -1107,9 +1107,9 @@ GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, int is_tcp, | |||
1107 | if ((h->internal_address != NULL) && | 1107 | if ((h->internal_address != NULL) && |
1108 | (inet_pton (AF_INET, h->internal_address, &in_addr) != 1)) | 1108 | (inet_pton (AF_INET, h->internal_address, &in_addr) != 1)) |
1109 | { | 1109 | { |
1110 | LOG (GNUNET_ERROR_TYPE_WARNING, "nat", | 1110 | GNUNET_log_config_invalid (GNUNET_ERROR_TYPE_WARNING, |
1111 | _("Malformed %s `%s' given in configuration!\n"), "INTERNAL_ADDRESS", | 1111 | "nat", "INTERNAL_ADDRESS", |
1112 | h->internal_address); | 1112 | _("malformed")); |
1113 | GNUNET_free (h->internal_address); | 1113 | GNUNET_free (h->internal_address); |
1114 | h->internal_address = NULL; | 1114 | h->internal_address = NULL; |
1115 | } | 1115 | } |