summaryrefslogtreecommitdiffstats
path: root/src/config.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2013-07-14 12:29:45 +0200
committerAndreas Schneider <asn@cryptomilk.org>2013-07-14 12:44:26 +0200
commitebdd0c6ac195971178db8d5515c77d737d01b5fe (patch)
treefed7e82607a6284e0b52bb612317a23d414736a1 /src/config.c
parentdcd94de076eb8d68885eda4210a69e3716cb95b5 (diff)
downloadlibssh-ebdd0c6ac195971178db8d5515c77d737d01b5fe.tar.gz
libssh-ebdd0c6ac195971178db8d5515c77d737d01b5fe.tar.xz
libssh-ebdd0c6ac195971178db8d5515c77d737d01b5fe.zip
src: Migrate to SSH_LOG.
Diffstat (limited to 'src/config.c')
-rw-r--r--src/config.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/config.c b/src/config.c
index 632a50b..7935e88 100644
--- a/src/config.c
+++ b/src/config.c
@@ -324,7 +324,7 @@ static int ssh_config_parse_line(ssh_session session, const char *line,
}
break;
case SOC_UNSUPPORTED:
- ssh_log(session, SSH_LOG_RARE, "Unsupported option: %s, line: %d\n",
+ SSH_LOG(SSH_LOG_RARE, "Unsupported option: %s, line: %d\n",
keyword, count);
break;
default:
@@ -350,7 +350,7 @@ int ssh_config_parse_file(ssh_session session, const char *filename) {
return 0;
}
- ssh_log(session, SSH_LOG_RARE, "Reading configuration data from %s", filename);
+ SSH_LOG(SSH_LOG_RARE, "Reading configuration data from %s", filename);
parsing = 1;
while (fgets(line, sizeof(line), f)) {