return NULL;
}
if (FindNextFileA (dirp->search_handle, &dirp->find_data) == FALSE) {
- /* the very last entry has been processed or an error occured */
+ /* the very last entry has been processed or an error occurred */
FindClose (dirp->search_handle);
dirp->search_handle = INVALID_HANDLE_VALUE;
return NULL;
}
else
{
- WLog_ERR(TAG, "No Device from receive_device(). An error occured.");
+ WLog_ERR(TAG, "No Device from receive_device(). An error occurred.");
}
}
}
if (!verifyFailed && sharedPreferences.getInt("bookmark.port", -1) <= 0)
verifyFailed = true;
- // if an error occured - display toast and return false
+ // if an error occurred - display toast and return false
return (!verifyFailed);
}
{
id = (unsigned long int) freerdp_map_keyboard_layout_name_to_id(arg->Value);
if (id == -1)
- WLog_ERR(TAG, "A problem occured while mapping the layout name to id");
+ WLog_ERR(TAG, "A problem occurred while mapping the layout name to id");
else if (id == 0)
{
WLog_ERR(TAG, "Could not identify keyboard layout: %s", arg->Value);
"A configuration error prevented a connection to be established."
#define ERRCONNECT_CONNECT_UNDEFINED_STRING \
- "A undefined connection error occured."
+ "A undefined connection error occurred."
#define ERRCONNECT_POST_CONNECT_FAILED_STRING \
"The connection attempt was aborted due to post connect configuration errors."
*/
if (buf && num && !ringbuffer_write(&ptr->xmitBuffer, (const BYTE*) buf, num))
{
- WLog_ERR(TAG, "an error occured when writing (num: %d)", num);
+ WLog_ERR(TAG, "an error occurred when writing (num: %d)", num);
return -1;
}
#define ERROR_DEVICE_ENUMERATION_ERROR 0x00000288
#define ERROR_MOUNT_POINT_NOT_RESOLVED 0x00000289
#define ERROR_INVALID_DEVICE_OBJECT_PARAMETER 0x0000028A
+/* The following is not a typo. It's the same spelling as in the Microsoft headers */
#define ERROR_MCA_OCCURED 0x0000028B
#define ERROR_DRIVER_DATABASE_ERROR 0x0000028C
#define ERROR_SYSTEM_HIVE_TOO_LARGE 0x0000028D
#define STATUS_WAIT_FOR_OPLOCK ((NTSTATUS)0x00000367)
#define STATUS_MOUNT_POINT_NOT_RESOLVED ((NTSTATUS)0xC0000368)
#define STATUS_INVALID_DEVICE_OBJECT_PARAMETER ((NTSTATUS)0xC0000369)
+/* The following is not a typo. It's the same spelling as in the Microsoft headers */
#define STATUS_MCA_OCCURED ((NTSTATUS)0xC000036A)
#define STATUS_DRIVER_BLOCKED_CRITICAL ((NTSTATUS)0xC000036B)
#define STATUS_DRIVER_BLOCKED ((NTSTATUS)0xC000036C)
}
else
{
- /* FIXME: "is 80 percent full" from the specs is ambiguous, need to track when it previously occured? */
+ /* FIXME: "is 80 percent full" from the specs is ambiguous, need to track when it previously * occurred? */
pComm->PendingEvents &= ~SERIAL_EV_RX80FULL;
}