projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9af35d8
)
* Exchanged the two first parameters of the memmove call
author
Sergio Villar Senin
<svillar@igalia.com>
Wed, 20 Dec 2006 08:39:33 +0000
(08:39 +0000)
committer
Sergio Villar Senin
<svillar@igalia.com>
Wed, 20 Dec 2006 08:39:33 +0000
(08:39 +0000)
pmo-trunk-r569
src/modest-account-mgr.c
patch
|
blob
|
history
diff --git
a/src/modest-account-mgr.c
b/src/modest-account-mgr.c
index
9cca65e
..
88da136
100644
(file)
--- a/
src/modest-account-mgr.c
+++ b/
src/modest-account-mgr.c
@@
-433,8
+433,8
@@
void
strip_prefix_from_elements (GSList * lst, guint n)
{
while (lst) {
- memmove (lst->data + n, lst->data,
- strlen(lst->data) + 1);
+ memmove (lst->data, lst->data + n,
+ strlen(lst->data) - n + 1);
lst = lst->next;
}
}