Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 272219
b: refs/heads/master
c: 66f6958
h: refs/heads/master
i:
  272217: 0f5df69
  272215: d9dbece
v: v3
  • Loading branch information
Michael Holzheu authored and Linus Torvalds committed Nov 1, 2011
1 parent acdc24a commit ecce833
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e3816c5407c800e4fb055d08f668286db6b7113f
refs/heads/master: 66f6958e69d8055277356d3cc2e7a1d734db1755
3 changes: 1 addition & 2 deletions trunk/lib/string.c
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,6 @@ char *strim(char *s)
size_t size;
char *end;

s = skip_spaces(s);
size = strlen(s);
if (!size)
return s;
Expand All @@ -370,7 +369,7 @@ char *strim(char *s)
end--;
*(end + 1) = '\0';

return s;
return skip_spaces(s);
}
EXPORT_SYMBOL(strim);

Expand Down

0 comments on commit ecce833

Please sign in to comment.