summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-18 19:40:45 -0500
committerTimothy Pearson <tpearson@raptorengineering.com>2019-03-17 00:34:02 -0500
commit0607f42f478058e73065b253ba02df9588da4745 (patch)
tree06eced8103a382b44e3abeea96b9cd2e276910f4
parent1731a7133b5225a25815ce6c1fbca8c8c863742e (diff)
downloadxrdp-proprietary-0607f42f478058e73065b253ba02df9588da4745.tar.gz
xrdp-proprietary-0607f42f478058e73065b253ba02df9588da4745.zip
Add additional debug statement
-rw-r--r--raptorsmiface/libraptorsmiface.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/raptorsmiface/libraptorsmiface.c b/raptorsmiface/libraptorsmiface.c
index 76220dfe..0c172f2e 100644
--- a/raptorsmiface/libraptorsmiface.c
+++ b/raptorsmiface/libraptorsmiface.c
@@ -749,6 +749,7 @@ int raptor_sm_get_new_unique_display(int mindisplay, int maxdisplay) {
if (mysql_query_internal(conn, query)) {
// Server error
free(query);
+ dprint("[ERROR] MySQL connection FAILED [%s]\n\r", mysql_error(conn));
mysql_close(conn);
return -2;
}
@@ -822,4 +823,4 @@ void raptor_sm_terminate_server(char* username) {
system(command_string);
free(command_string);
}
-} \ No newline at end of file
+}