* minor
This commit is contained in:
@ -318,6 +318,7 @@ mu_script_guile_run (MuScriptInfo *msi, const char *muhome,
|
|||||||
|
|
||||||
if (access (mu_script_info_path (msi), R_OK) != 0) {
|
if (access (mu_script_info_path (msi), R_OK) != 0) {
|
||||||
mu_util_g_set_error (err, MU_ERROR_FILE_CANNOT_READ,
|
mu_util_g_set_error (err, MU_ERROR_FILE_CANNOT_READ,
|
||||||
|
"failed to read script: %s",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -166,7 +166,7 @@ char* mu_str_xapian_escape_in_place_try (char *query, gboolean esc_space,
|
|||||||
* replace ':' with '_', if it's not following a xapian-prefix (such
|
* replace ':' with '_', if it's not following a xapian-prefix (such
|
||||||
* as 'subject:', 't:' etc, as defined in mu-msg-fields.[ch]).
|
* as 'subject:', 't:' etc, as defined in mu-msg-fields.[ch]).
|
||||||
*
|
*
|
||||||
* @param query a query string
|
* @param str a string
|
||||||
* @param esc_space escape space characters as well
|
* @param esc_space escape space characters as well
|
||||||
* @param strchunk (optional) if non-NULL, allocate strings on strchunk
|
* @param strchunk (optional) if non-NULL, allocate strings on strchunk
|
||||||
*
|
*
|
||||||
@ -174,7 +174,7 @@ char* mu_str_xapian_escape_in_place_try (char *query, gboolean esc_space,
|
|||||||
* Unless strchunk was provided, user must g_free the string when
|
* Unless strchunk was provided, user must g_free the string when
|
||||||
* no longer needed
|
* no longer needed
|
||||||
*/
|
*/
|
||||||
char* mu_str_xapian_escape (const char *query, gboolean esc_space,
|
char* mu_str_xapian_escape (const char *str, gboolean esc_space,
|
||||||
GStringChunk *strchunk) G_GNUC_WARN_UNUSED_RESULT;
|
GStringChunk *strchunk) G_GNUC_WARN_UNUSED_RESULT;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user