diff options
author | Pavel Roskin <plroskin@gmail.com> | 2016-10-16 22:08:59 -0700 |
---|---|---|
committer | Pavel Roskin <plroskin@gmail.com> | 2016-10-17 08:38:22 -0700 |
commit | 424cef464b66e93704991c7747476306d43e2065 (patch) | |
tree | b4ab3cafafefa3d29a7587b31dc8ad20327a75a3 /sesman/libscp | |
parent | 9ac592b21853dc6bbb9cd07e9ab0724a83153efd (diff) | |
download | xrdp-proprietary-424cef464b66e93704991c7747476306d43e2065.tar.gz xrdp-proprietary-424cef464b66e93704991c7747476306d43e2065.zip |
Log malloc errors with LOG_LEVEL_ERROR
Diffstat (limited to 'sesman/libscp')
-rw-r--r-- | sesman/libscp/libscp_connection.c | 2 | ||||
-rw-r--r-- | sesman/libscp/libscp_session.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/sesman/libscp/libscp_connection.c b/sesman/libscp/libscp_connection.c index a04c4388..a5cfcb4a 100644 --- a/sesman/libscp/libscp_connection.c +++ b/sesman/libscp/libscp_connection.c @@ -37,7 +37,7 @@ scp_connection_create(int sck) if (0 == conn) { - log_message(LOG_LEVEL_WARNING, "[connection:%d] connection create: malloc error", __LINE__); + log_message(LOG_LEVEL_ERROR, "[connection:%d] connection create: malloc error", __LINE__); return 0; } diff --git a/sesman/libscp/libscp_session.c b/sesman/libscp/libscp_session.c index e6c77058..210414c3 100644 --- a/sesman/libscp/libscp_session.c +++ b/sesman/libscp/libscp_session.c @@ -42,7 +42,7 @@ scp_session_create() if (0 == s) { - log_message(LOG_LEVEL_WARNING, "[session:%d] session create: malloc error", __LINE__); + log_message(LOG_LEVEL_ERROR, "[session:%d] session create: malloc error", __LINE__); return 0; } |