diff options
| author | metalefty <meta@vmeta.jp> | 2016-10-20 15:52:25 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2016-10-20 15:52:25 +0900 |
| commit | 0c4c52878a414d7df9e509b9eabe422d29c6185a (patch) | |
| tree | 6d1c34a0f0b598b802af3fdcf31c40d0ad1b64c4 /xrdp/xrdp_bitmap.c | |
| parent | c9108242cd67159ac0196452e0206410b8a2c343 (diff) | |
| parent | 6fef1e4eb53877d41f52f2b4d93ea11eb680b6b3 (diff) | |
| download | xrdp-proprietary-0c4c52878a414d7df9e509b9eabe422d29c6185a.tar.gz xrdp-proprietary-0c4c52878a414d7df9e509b9eabe422d29c6185a.zip | |
Merge pull request #444 from proski/trivial
Simple changes, mostly log messages and documentation
Diffstat (limited to 'xrdp/xrdp_bitmap.c')
| -rw-r--r-- | xrdp/xrdp_bitmap.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c index e99e2bfe..9ffc6284 100644 --- a/xrdp/xrdp_bitmap.c +++ b/xrdp/xrdp_bitmap.c @@ -471,7 +471,7 @@ xrdp_bitmap_load(struct xrdp_bitmap *self, const char *filename, int *palette) /* read bmp header */ if (g_file_seek(fd, 14) < 0) { - log_message(LOG_LEVEL_ERROR, "xrdp_bitmap_load: seek error in file %s\n", + log_message(LOG_LEVEL_ERROR, "xrdp_bitmap_load: seek error in file %s", filename); free_stream(s); g_file_close(fd); @@ -505,7 +505,7 @@ xrdp_bitmap_load(struct xrdp_bitmap *self, const char *filename, int *palette) { if (g_file_seek(fd, 14 + header.size) < 0) { - log_message(LOG_LEVEL_ERROR, "xrdp_bitmap_load: seek error in file %s\n", + log_message(LOG_LEVEL_ERROR, "xrdp_bitmap_load: seek error in file %s", filename); } xrdp_bitmap_resize(self, header.image_width, header.image_height); @@ -562,7 +562,7 @@ xrdp_bitmap_load(struct xrdp_bitmap *self, const char *filename, int *palette) /* read palette */ if (g_file_seek(fd, 14 + header.size) < 0) { - log_message(LOG_LEVEL_ERROR, "xrdp_bitmap_load: seek error in file %s\n", + log_message(LOG_LEVEL_ERROR, "xrdp_bitmap_load: seek error in file %s", filename); } init_stream(s, 8192); @@ -623,7 +623,7 @@ xrdp_bitmap_load(struct xrdp_bitmap *self, const char *filename, int *palette) /* read palette */ if (g_file_seek(fd, 14 + header.size) < 0) { - log_message(LOG_LEVEL_ERROR, "xrdp_bitmap_load: seek error in file %s\n", + log_message(LOG_LEVEL_ERROR, "xrdp_bitmap_load: seek error in file %s", filename); } init_stream(s, 8192); |
