summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2017-04-12 10:51:06 +0200
committerArtyom V. Poptsov <poptsov.artyom@gmail.com>2017-04-23 07:51:48 +0300
commit447e8ea917f68c62f0e2a3a34c0be20fef965cd6 (patch)
treebe62688477461fb227d2fb9a37446b34d18a085a
parentlibguile-ssh/sftp-file-type.c: Remove 'mark' and 'free' procedures. (diff)
downloadguile-ssh-447e8ea917f68c62f0e2a3a34c0be20fef965cd6.tar.gz
tests: Use 'inet-ntop' instead of 'inet-ntoa'.
* tests/sssh-ssshd.scm (*sssh-cmd*): Use 'inet-ntop' instead of the deprecated 'inet-ntoa'. Signed-off-by: Artyom V. Poptsov <poptsov.artyom@gmail.com>
-rw-r--r--tests/sssh-ssshd.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/sssh-ssshd.scm b/tests/sssh-ssshd.scm
index 910e3a5..c7d1738 100644
--- a/tests/sssh-ssshd.scm
+++ b/tests/sssh-ssshd.scm
@@ -51,7 +51,7 @@
" --identity-file=" %rsakey
" --port=" (number->string *srv-port*)
" --known-hosts-file=" %knownhosts
- " " (inet-ntoa *srv-address*)
+ " " (inet-ntop AF_INET *srv-address*)
" '" *test-cmd* "'"))
(setenv "GUILE_LOAD_PATH" (string-append %topdir "/modules"))