fix spelling

replace occured with occurred
Fixes #3142
This commit is contained in:
Bernhard Miklautz 2016-02-22 17:01:43 +01:00
parent 4d85ade558
commit e6f013eac7
9 changed files with 9 additions and 7 deletions

View File

@ -286,7 +286,7 @@ static struct dirent *readdir(DIR *dirp)
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;

View File

@ -1026,7 +1026,7 @@ static void* urbdrc_search_usb_device(void* arg)
}
else
{
WLog_ERR(TAG, "No Device from receive_device(). An error occured.");
WLog_ERR(TAG, "No Device from receive_device(). An error occurred.");
}
}
}

View File

@ -575,7 +575,7 @@ public class BookmarkActivity extends PreferenceActivity implements
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);
}

View File

@ -1684,7 +1684,7 @@ int freerdp_client_settings_parse_command_line_arguments(rdpSettings* settings,
{
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);

View File

@ -38,7 +38,7 @@
"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."

View File

@ -489,7 +489,7 @@ static int transport_bio_buffered_write(BIO* bio, const char* buf, int num)
*/
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;
}

View File

@ -518,6 +518,7 @@
#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

View File

@ -977,6 +977,7 @@
#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)

View File

@ -1344,7 +1344,7 @@ static BOOL _get_commstatus(WINPR_COMM *pComm, SERIAL_STATUS *pCommstatus)
}
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;
}