mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-20 06:46:21 +00:00
Split PGP incoming and outgoing message handling
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user