summaryrefslogtreecommitdiffstats
path: root/net/irda/irnet/irnet.h
diff options
context:
space:
mode:
authorAndré Goddard Rosa <andre.goddard@gmail.com>2009-12-14 18:01:04 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2009-12-15 08:53:32 -0800
commit84c95c9acf088c99d8793d78036b67faa5d0b851 (patch)
tree170c528099f4f570e48220b546c7fc3e4e06be8a /net/irda/irnet/irnet.h
parentf653398c86a1c104f0992bd788dd4bb065449be4 (diff)
downloadblackbird-op-linux-84c95c9acf088c99d8793d78036b67faa5d0b851.tar.gz
blackbird-op-linux-84c95c9acf088c99d8793d78036b67faa5d0b851.zip
string: on strstrip(), first remove leading spaces before running over str
... so that strlen() iterates over a smaller string comprising of the remaining characters only. Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'net/irda/irnet/irnet.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud