Signed-off-by: Philipp Hahn <h...@univention.de>
---
 libxrdp/xrdp_sec.c |  2 +-
 xrdp/xrdp_mm.c     |  4 ++--
 xrdp/xrdp_wm.c     | 12 ++++++------
 3 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/libxrdp/xrdp_sec.c b/libxrdp/xrdp_sec.c
index 726fcde..843baae 100644
--- a/libxrdp/xrdp_sec.c
+++ b/libxrdp/xrdp_sec.c
@@ -467,7 +467,7 @@ xrdp_sec_process_logon_info(struct xrdp_sec *self,
struct stream *s)
         unicode_in(s, len_ip - 2, tmpdata, 255);
         in_uint16_le(s, len_dll);
         unicode_in(s, len_dll - 2, tmpdata, 255);
-        in_uint32_le(s, tzone);                             /* len of
timetone */
+        in_uint32_le(s, tzone);                             /* len of
timezone */
         in_uint8s(s, 62);                                   /* skip */
         in_uint8s(s, 22);                                   /* skip
misc. */
         in_uint8s(s, 62);                                   /* skip */
diff --git a/xrdp/xrdp_mm.c b/xrdp/xrdp_mm.c
index 0a79810..95fc13c 100644
--- a/xrdp/xrdp_mm.c
+++ b/xrdp/xrdp_mm.c
@@ -238,7 +238,7 @@ xrdp_mm_send_login(struct xrdp_mm *self)
 /*****************************************************************************/
 /* returns error */
 /* this goes through the login_names looking for one called 'aname'
-   then it copies the corisponding login_values item into 'dest'
+   then it copies the corresponding login_values item into 'dest'
    'dest' must be at least 'dest_len' + 1 bytes in size */
 static int APP_CC
 xrdp_mm_get_value(struct xrdp_mm *self, char *aname, char *dest, int
dest_len)
@@ -1243,7 +1243,7 @@ getPAMError(const int pamError, char *text, int
text_bytes)
         case PAM_USER_UNKNOWN:
             return "User not known to the underlying authentication
module";
         case PAM_MAXTRIES:
-            return "Have exhasted maximum number of retries for service.";
+            return "Have exhausted maximum number of retries for service.";
         case PAM_NEW_AUTHTOK_REQD:
             return "Authentication token is no longer valid; new one
required.";
         case PAM_ACCT_EXPIRED:
diff --git a/xrdp/xrdp_wm.c b/xrdp/xrdp_wm.c
index bfcc754..8709673 100644
--- a/xrdp/xrdp_wm.c
+++ b/xrdp/xrdp_wm.c
@@ -561,7 +561,7 @@ xrdp_wm_init(struct xrdp_wm *self)
             {
                 if (autorun_name[0] == 0)
                 {
-                    /* if no doamin is passed, and no autorun in xrdp.ini,
+                    /* if no domain is passed, and no autorun in xrdp.ini,
                        use the first item in the xrdp.ini
                        file thats not named
                        'globals' or 'Logging' or 'channels' */
@@ -811,7 +811,7 @@ xrdp_wm_bitblt(struct xrdp_wm *self,
 }

/*****************************************************************************/
-/* return true is rect is totaly exposed going in reverse z order */
+/* return true is 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,
@@ -1028,7 +1028,7 @@ xrdp_wm_mouse_move(struct xrdp_wm *self, int x, int y)
      b = xrdp_wm_at_pos(self->screen, x, y, 0);
 -    if (b == 0) /* if b is null, the movment must be over the screen */
+    if (b == 0) /* if b is null, the movement must be over the screen */
     {
         if (self->screen->pointer != self->current_pointer)
         {
@@ -1036,7 +1036,7 @@ xrdp_wm_mouse_move(struct xrdp_wm *self, int x, int y)
             self->current_pointer = self->screen->pointer;
         }
 -        if (self->mm->mod != 0) /* if screen is mod controled */
+        if (self->mm->mod != 0) /* if screen is mod controlled */
         {
             if (self->mm->mod->mod_event != 0)
             {
@@ -1175,7 +1175,7 @@ xrdp_wm_mouse_click(struct xrdp_wm *self, int x,
int y, int but, int down)
      if (control == 0)
     {
-        if (self->mm->mod != 0) /* if screen is mod controled */
+        if (self->mm->mod != 0) /* if screen is mod controlled */
         {
             if (self->mm->mod->mod_event != 0)
             {
@@ -1675,7 +1675,7 @@ xrdp_wm_login_mode_changed(struct xrdp_wm *self)
 }

/*****************************************************************************/
-/* this is the log windows nofity function */
+/* this is the log windows notify function */
 static int DEFAULT_CC
 xrdp_wm_log_wnd_notify(struct xrdp_bitmap *wnd,
                        struct xrdp_bitmap *sender,
-- 
1.8.5.3

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
xrdp-devel mailing list
xrdp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xrdp-devel

Reply via email to