summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-18 19:40:45 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2012-08-18 19:40:45 -0500
commitb62256d54dd71705a29da49bc8ee62d6ebd95230 (patch)
tree9585ad8af56f741eab4340054fc08b3a69ec59ff
parentbe9d65174294bbecdafddc03cb52fdf8c59582e1 (diff)
downloadxrdp-proprietary-b62256d54dd71705a29da49bc8ee62d6ebd95230.tar.gz
xrdp-proprietary-b62256d54dd71705a29da49bc8ee62d6ebd95230.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
+}