* let mu_str_subject_normalize work with static strings as well
This commit is contained in:
@ -439,8 +439,13 @@ mu_str_subject_normalize (const gchar* str)
|
||||
last_colon = g_strrstr (str, ":");
|
||||
if (!last_colon)
|
||||
return str;
|
||||
else
|
||||
return g_strchug (last_colon + 1);
|
||||
else {
|
||||
gchar *str;
|
||||
str = last_colon + 1;
|
||||
while (*str == ' ')
|
||||
++str;
|
||||
return str;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user