shell: remove duplicated code
authorTiago Vignatti <vignatti@freedesktop.org>
Fri, 10 Feb 2012 14:17:23 +0000 (16:17 +0200)
committerPekka Paalanen <ppaalanen@gmail.com>
Mon, 13 Feb 2012 09:52:24 +0000 (11:52 +0200)
commit0f997016a7aa928487355e338800e8e8bfdf672a
tree7d53de21a6422be4b9270e5bc467f646ed278a2e
parent0a2664162670e44a6c0f5680798365c4896049c0
shell: remove duplicated code

This clean-up seems alright, but someone with better knowledge has to
doublecheck this function. I guess there's a lot of space for clean-up
there.

[pq: looks ok, redone since did not apply after my changes]

Signed-off-by: Pekka Paalanen <ppaalanen@gmail.com>
src/shell.c