aboutsummaryrefslogtreecommitdiff
path: root/src/librc-strlist.c
diff options
context:
space:
mode:
authorRoy Marples <roy@marples.name>2007-04-10 11:24:58 +0000
committerRoy Marples <roy@marples.name>2007-04-10 11:24:58 +0000
commitd3db9e9910ef0a472feb27cf4a9ace78e431ddd9 (patch)
tree7e01917c209258b2f459f63ba42558c3beffb2f5 /src/librc-strlist.c
parent662e308d86d63750fc1d939e68c2b5ee88fea593 (diff)
Fix indentation
Diffstat (limited to 'src/librc-strlist.c')
-rw-r--r--src/librc-strlist.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/librc-strlist.c b/src/librc-strlist.c
index 126ec78e..042b2097 100644
--- a/src/librc-strlist.c
+++ b/src/librc-strlist.c
@@ -33,8 +33,8 @@ char **rc_strlist_add (char **list, const char *item)
}
static char **_rc_strlist_addsort (char **list, const char *item,
- int (*sortfunc) (const char *s1,
- const char *s2))
+ int (*sortfunc) (const char *s1,
+ const char *s2))
{
char **newlist;
int i = 0;
@@ -90,12 +90,12 @@ char **rc_strlist_delete (char **list, const char *item)
while (list[i])
if (! strcmp (list[i], item))
{
- free (list[i]);
- do
- {
- list[i] = list[i + 1];
- i++;
- } while (list[i]);
+ free (list[i]);
+ do
+ {
+ list[i] = list[i + 1];
+ i++;
+ } while (list[i]);
}
return (list);