Split PGP incoming and outgoing message handling

This commit is contained in:
James Booth
2015-08-30 01:32:13 +01:00
parent 1484e94b35
commit b4722632b6
11 changed files with 142 additions and 129 deletions

View File

@@ -195,6 +195,12 @@ str_replace(const char *string, const char *substr,
gboolean
str_contains_str(const char * const searchstr, const char * const substr)
{
if (!searchstr) {
return FALSE;
}
if (!substr) {
return FALSE;
}
return g_strrstr(searchstr, substr) != NULL;
}