summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/list.c2
-rw-r--r--common/log.h2
-rw-r--r--common/os_calls.c4
-rw-r--r--common/xrdp_constants.h2
4 files changed, 5 insertions, 5 deletions
diff --git a/common/list.c b/common/list.c
index 9fde1f6f..abab2fab 100644
--- a/common/list.c
+++ b/common/list.c
@@ -192,7 +192,7 @@ list_insert_item(struct list *self, int index, tbus item)
/*****************************************************************************/
/* append one list to another using strdup for each item in the list */
-/* begins copy at start_index, a zero based index on the soure list */
+/* begins copy at start_index, a zero based index on the source list */
void APP_CC
list_append_list_strdup(struct list *self, struct list *dest, int start_index)
{
diff --git a/common/log.h b/common/log.h
index b95c615a..15307588 100644
--- a/common/log.h
+++ b/common/log.h
@@ -81,7 +81,7 @@ struct log_config
/**
*
* @brief Starts the logging subsystem
- * @param l_cfg loggging system configuration
+ * @param l_cfg logging system configuration
* @return
*
*/
diff --git a/common/os_calls.c b/common/os_calls.c
index 0034cb5b..a4c98a75 100644
--- a/common/os_calls.c
+++ b/common/os_calls.c
@@ -1327,7 +1327,7 @@ tintptr APP_CC
g_create_wait_obj_from_socket(tintptr socket, int write)
{
#ifdef _WIN32
- /* Create and return corresponding event handle for WaitForMultipleObjets */
+ /* Create and return corresponding event handle for WaitForMultipleObjects */
WSAEVENT event;
long lnetevent = 0;
@@ -1979,7 +1979,7 @@ g_directory_exist(const char *dirname)
{
#if defined(_WIN32)
return 0; // use GetFileAttributes and check return value
- // is not -1 and FILE_ATTRIBUT_DIRECTORY bit is set
+ // is not -1 and FILE_ATTRIBUTE_DIRECTORY bit is set
#else
struct stat st;
diff --git a/common/xrdp_constants.h b/common/xrdp_constants.h
index b8739b2b..94f4305c 100644
--- a/common/xrdp_constants.h
+++ b/common/xrdp_constants.h
@@ -521,7 +521,7 @@
#define NO_BITMAP_COMPRESSION_HDR 0x0400
#define LONG_CREDENTIALS_SUPPORTED 0x0004
#define AUTORECONNECT_SUPPORTED 0x0008
-#define ENC_SALTED_CHEKSUM 0x0010
+#define ENC_SALTED_CHECKSUM 0x0010
#define NEGOTIATEORDERSUPPORT 0x0002
#define ZEROBOUNDSDELTASUPPORT 0x0008
#define COLORINDEXSUPPORT 0x0020