projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f1eda3
)
Fix for 2f1eda3f0.
author
Andrej Kacian
<ticho@claws-mail.org>
Tue, 4 Jul 2017 10:07:02 +0000
(12:07 +0200)
committer
Andrej Kacian
<ticho@claws-mail.org>
Tue, 4 Jul 2017 10:07:02 +0000
(12:07 +0200)
src/plugins/rssyl/strutils.c
patch
|
blob
|
history
diff --git
a/src/plugins/rssyl/strutils.c
b/src/plugins/rssyl/strutils.c
index af20604c067130879df05191c820e0560ad0b5ff..b2c27149abf423ea2718341ed7cf90ff0c1e7b1c 100644
(file)
--- a/
src/plugins/rssyl/strutils.c
+++ b/
src/plugins/rssyl/strutils.c
@@
-106,7
+106,7
@@
gchar *rssyl_strreplace(gchar *source, gchar *pattern,
/* We broke off the above cycle because remaining text was not
* long enough for the pattern, so now we need to append the
* remaining text to the new string. */
- if (c != '\0') {
+ if (
*
c != '\0') {
strncat(new, c, final_length - strlen(new));
}