* Allocate a new block, return a pointer to it. Old blocks
* may be flushed to disk during this call.
*
- * Returns: The block, or NULL if an error occured.
+ * Returns: The block, or NULL if an error occurred.
**/
CamelBlock *
camel_block_file_new_block (CamelBlockFile *bs)
* Retreive a block @id.
*
* Returns: The block, or NULL if blockid is invalid or a file error
- * occured.
+ * occurred.
**/
CamelBlock *
camel_block_file_get_block (CamelBlockFile *bs,
guint total; /* total characters read */
guint lastc; /* the last character read */
- gint crlfnoorder; /* if crlf's occured where they shouldn't have */
+ gint crlfnoorder; /* if crlf's occurred where they shouldn't have */
gint startofline; /* are we at the start of a new line? */
return s->fd;
}
-/* Return errno of the parser, incase any error occured during processing */
+/* Return errno of the parser, incase any error occurred during processing */
gint
camel_mime_parser_errno (CamelMimeParser *parser)
{
cs (SEC_ERROR_BAD_LDAP_RESPONSE, "Server returned bad LDAP response")
cs (SEC_ERROR_FAILED_TO_ENCODE_DATA, "Failed to encode data with ASN1 encoder")
cs (SEC_ERROR_BAD_INFO_ACCESS_LOCATION, "Bad information access location in cert extension")
- cs (SEC_ERROR_LIBPKIX_INTERNAL, "Libpkix internal error occured during cert validation.")
+ cs (SEC_ERROR_LIBPKIX_INTERNAL, "Libpkix internal error occurred during cert validation.")
cs (SEC_ERROR_PKCS11_GENERAL_ERROR, "A PKCS #11 module returned CKR_GENERAL_ERROR, indicating that an unrecoverable error has occurred.")
cs (SEC_ERROR_PKCS11_FUNCTION_FAILED, "A PKCS #11 module returned CKR_FUNCTION_FAILED, indicating that the requested function could not be performed. Trying the same operation again might succeed.")
cs (SEC_ERROR_PKCS11_DEVICE_ERROR, "A PKCS #11 module returned CKR_DEVICE_ERROR, indicating that a problem has occurred with the token or slot.")
* @summary: a #CamelStoreSummary object
*
* Writes the summary to disk. The summary is only written if changes
- * have occured.
+ * have occurred.
*
* Returns: %0 on succes or %-1 on fail
**/
* @error: return location for a #GError, or %NULL
*
* Finishes the operation started with e_source_remove(). If an
- * error occured, the function will set @error and return %FALSE.
+ * error occurred, the function will set @error and return %FALSE.
*
* Returns: %TRUE on success, %FALSE of failure
*