Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 176375
b: refs/heads/master
c: 84c95c9
h: refs/heads/master
i:
  176373: 2699cae
  176371: 6419f07
  176367: f3304b5
v: v3
  • Loading branch information
André Goddard Rosa authored and Linus Torvalds committed Dec 15, 2009
1 parent 059cce9 commit 7d4e488
Show file tree
Hide file tree
Showing 2 changed files with 3 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: f653398c86a1c104f0992bd788dd4bb065449be4
refs/heads/master: 84c95c9acf088c99d8793d78036b67faa5d0b851
4 changes: 2 additions & 2 deletions trunk/lib/string.c
Original file line number Diff line number Diff line change
Expand Up @@ -364,8 +364,8 @@ char *strstrip(char *s)
size_t size;
char *end;

s = skip_spaces(s);
size = strlen(s);

if (!size)
return s;

Expand All @@ -374,7 +374,7 @@ char *strstrip(char *s)
end--;
*(end + 1) = '\0';

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

Expand Down

0 comments on commit 7d4e488

Please sign in to comment.