diff options
Diffstat (limited to 'tests/d/test.c')
-rw-r--r-- | tests/d/test.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/d/test.c b/tests/d/test.c index 554926c..6e6442b 100644 --- a/tests/d/test.c +++ b/tests/d/test.c @@ -2,11 +2,13 @@ int main(void) { - un_alloc_temp_init(UN_KB(4)); + un_init(UN_KB(4)); d_init(); - cyn_log_write(CYN_LOG_INFO, d_get_hostname_ip(UN_STR("f-tier-games.ru"), un_alloc_temp_get())); + String host = UN_STR("f-tier-games.ru"); + + cyn_log_write(CYN_LOG_INFO, UN_STR("%s: %s"), host, d_hostname_ip_get(host, un_alloc_temp_get())); return 0; } |