aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/CMakeLists.txt4
-rw-r--r--examples/ssh_client.c (renamed from examples/sample.c)0
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index e0f4878d..0b2bcffb 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -30,8 +30,8 @@ if (UNIX AND NOT WIN32)
target_link_libraries(samplesftp ${LIBSSH_SHARED_LIBRARY})
endif (WITH_SFTP)
- add_executable(samplessh sample.c ${examples_SRCS})
- target_link_libraries(samplessh ${LIBSSH_SHARED_LIBRARY})
+ add_executable(ssh-client ssh_client.c ${examples_SRCS})
+ target_link_libraries(ssh-client ${LIBSSH_SHARED_LIBRARY})
if (WITH_SERVER AND ARGP_LIBRARY)
if (HAVE_LIBUTIL)
diff --git a/examples/sample.c b/examples/ssh_client.c
index 53f7f6c4..53f7f6c4 100644
--- a/examples/sample.c
+++ b/examples/ssh_client.c