summaryrefslogtreecommitdiffstats
path: root/xrdp
diff options
context:
space:
mode:
authorPavel Roskin <plroskin@gmail.com>2016-02-13 20:41:07 -0800
committerPavel Roskin <plroskin@gmail.com>2016-02-13 20:41:07 -0800
commit92a6833e9b808301bb3435bc1290f4b8d6242be5 (patch)
tree98b1175dafcc2d3177fce02b91b77a6f6eb1e620 /xrdp
parentafa6ec97cc90ce45086df13ca7a5914a28175820 (diff)
downloadxrdp-proprietary-92a6833e9b808301bb3435bc1290f4b8d6242be5.tar.gz
xrdp-proprietary-92a6833e9b808301bb3435bc1290f4b8d6242be5.zip
Fix typos
Diffstat (limited to 'xrdp')
-rw-r--r--xrdp/xrdp.c2
-rw-r--r--xrdp/xrdp_cache.c6
-rw-r--r--xrdp/xrdp_encoder.c2
-rw-r--r--xrdp/xrdp_keyboard.ini4
-rw-r--r--xrdp/xrdp_process.c4
-rw-r--r--xrdp/xrdp_types.h2
-rw-r--r--xrdp/xrdp_wm.c2
-rw-r--r--xrdp/xrdpwin.c2
8 files changed, 12 insertions, 12 deletions
diff --git a/xrdp/xrdp.c b/xrdp/xrdp.c
index c70c37c7..12fcb2fa 100644
--- a/xrdp/xrdp.c
+++ b/xrdp/xrdp.c
@@ -34,7 +34,7 @@ static long g_sync_mutex = 0;
static long g_sync1_mutex = 0;
static tbus g_term_event = 0;
static tbus g_sync_event = 0;
-/* syncronize stuff */
+/* synchronize stuff */
static int g_sync_command = 0;
static long g_sync_result = 0;
static long g_sync_param1 = 0;
diff --git a/xrdp/xrdp_cache.c b/xrdp/xrdp_cache.c
index 834271db..d4133325 100644
--- a/xrdp/xrdp_cache.c
+++ b/xrdp/xrdp_cache.c
@@ -79,7 +79,7 @@ xrdp_cache_reset_crc(struct xrdp_cache *self)
{
for (jndex = 0; jndex < 64 * 1024; jndex++)
{
- /* it's ok to deinit a zero'ed out struct list16 */
+ /* it's ok to deinit a zeroed out struct list16 */
list16_deinit(&(self->crc16[index][jndex]));
list16_init(&(self->crc16[index][jndex]));
}
@@ -684,7 +684,7 @@ xrdp_cache_add_pointer(struct xrdp_cache *self,
}
/*****************************************************************************/
-/* this does not take owership of pointer_item, it makes a copy */
+/* this does not take ownership of pointer_item, it makes a copy */
int APP_CC
xrdp_cache_add_pointer_static(struct xrdp_cache *self,
struct xrdp_pointer_item *pointer_item,
@@ -716,7 +716,7 @@ xrdp_cache_add_pointer_static(struct xrdp_cache *self,
}
/*****************************************************************************/
-/* this does not take owership of brush_item_data, it makes a copy */
+/* this does not take ownership of brush_item_data, it makes a copy */
int APP_CC
xrdp_cache_add_brush(struct xrdp_cache *self,
char *brush_item_data)
diff --git a/xrdp/xrdp_encoder.c b/xrdp/xrdp_encoder.c
index 2b96d803..18aa6a15 100644
--- a/xrdp/xrdp_encoder.c
+++ b/xrdp/xrdp_encoder.c
@@ -111,7 +111,7 @@ xrdp_encoder_create(struct xrdp_mm *mm)
return 0;
}
- LLOGLN(0, ("init_xrdp_encoder: initing encoder codec_id %d", self->codec_id));
+ LLOGLN(0, ("init_xrdp_encoder: initializing encoder codec_id %d", self->codec_id));
/* setup required FIFOs */
self->fifo_to_proc = fifo_create();
diff --git a/xrdp/xrdp_keyboard.ini b/xrdp/xrdp_keyboard.ini
index 032b9d3e..0f1a28cb 100644
--- a/xrdp/xrdp_keyboard.ini
+++ b/xrdp/xrdp_keyboard.ini
@@ -40,8 +40,8 @@
# default
[default]
-# keyboard_type and keyboard_subtype is not readed for default section. It
-# is only as a place holder to keep consistency. Default model/variant are
+# keyboard_type and keyboard_subtype is not read for default section. It
+# is only a placeholder to keep consistency. Default model/variant are
# platform dependent, and could be overridden if needed.
keyboard_type=0
keyboard_subtype=0
diff --git a/xrdp/xrdp_process.c b/xrdp/xrdp_process.c
index 7d9c3a14..6cb9ea02 100644
--- a/xrdp/xrdp_process.c
+++ b/xrdp/xrdp_process.c
@@ -202,7 +202,7 @@ xrdp_process_main_loop(struct xrdp_process *self)
/* this function is just above */
self->session->is_term = xrdp_is_term;
- if (libxrdp_process_incomming(self->session) == 0)
+ if (libxrdp_process_incoming(self->session) == 0)
{
init_stream(self->server_trans->in_s, 32 * 1024);
@@ -253,7 +253,7 @@ xrdp_process_main_loop(struct xrdp_process *self)
}
else
{
- g_writeln("xrdp_process_main_loop: libxrdp_process_incomming failed");
+ g_writeln("xrdp_process_main_loop: libxrdp_process_incoming failed");
/* this will try to send a disconnect,
maybe should check that connection got far enough */
libxrdp_disconnect(self->session);
diff --git a/xrdp/xrdp_types.h b/xrdp/xrdp_types.h
index a2a4d5fd..6230d678 100644
--- a/xrdp/xrdp_types.h
+++ b/xrdp/xrdp_types.h
@@ -223,7 +223,7 @@ struct xrdp_brush_item
/* moved to xrdp_constants.h
#define XRDP_BITMAP_CACHE_ENTRIES 2048 */
-/* differnce caches */
+/* difference caches */
struct xrdp_cache
{
struct xrdp_wm* wm; /* owner */
diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c
index 806a2532..362d0d0a 100644
--- a/xrdp/xrdp_wm.c
+++ b/xrdp/xrdp_wm.c
@@ -870,7 +870,7 @@ xrdp_wm_bitblt(struct xrdp_wm *self,
}
/*****************************************************************************/
-/* return true is rect is totaly exposed going in reverse z order */
+/* return true if rect is totally exposed going in reverse z order */
/* from wnd up */
static int APP_CC
xrdp_wm_is_rect_vis(struct xrdp_wm *self, struct xrdp_bitmap *wnd,
diff --git a/xrdp/xrdpwin.c b/xrdp/xrdpwin.c
index f3ef1074..99eb5c76 100644
--- a/xrdp/xrdpwin.c
+++ b/xrdp/xrdpwin.c
@@ -34,7 +34,7 @@ static long g_sync_mutex = 0;
static long g_sync1_mutex = 0;
static tbus g_term_event = 0;
static tbus g_sync_event = 0;
-/* syncronize stuff */
+/* synchronize stuff */
static int g_sync_command = 0;
static long g_sync_result = 0;
static long g_sync_param1 = 0;