summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_bitmap.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2009-08-05 06:16:05 +0000
committerjsorg71 <jsorg71>2009-08-05 06:16:05 +0000
commiteeac7c938a7602f4e471181aa62b18c206105de8 (patch)
tree8aefb09f38b9215394baf9806841c07203994177 /xrdp/xrdp_bitmap.c
parent3cfea6a9596269cf1a0e308ea6653905fa3702bb (diff)
downloadxrdp-proprietary-eeac7c938a7602f4e471181aa62b18c206105de8.tar.gz
xrdp-proprietary-eeac7c938a7602f4e471181aa62b18c206105de8.zip
add extended log output
Diffstat (limited to 'xrdp/xrdp_bitmap.c')
-rw-r--r--xrdp/xrdp_bitmap.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c
index 11a3a402..1aeda6fd 100644
--- a/xrdp/xrdp_bitmap.c
+++ b/xrdp/xrdp_bitmap.c
@@ -448,6 +448,12 @@ xrdp_bitmap_load(struct xrdp_bitmap* self, const char* filename, int* palette)
}
g_file_close(fd);
}
+ else
+ {
+ g_writeln("xrdp_bitmap_load: error loading bitmap from file [%s]",
+ filename);
+ return 1;
+ }
free_stream(s);
return 0;
}