Messages in this thread Patch in this message | | | Date | Fri, 02 Jan 2009 13:11:10 +0100 | From | Roel Kluin <> | Subject | [PATCH?] paride/pg.c: xs(): &&/|| confusion |
| |
&&/|| confusion
Signed-off-by: Roel Kluin <roel.kluin@gmail.com> --- to Tim: If you can no longer maintain, you may want to remove your listing in the maintainers file. Can anyone else test this on hardware?
diff --git a/drivers/block/paride/pg.c b/drivers/block/paride/pg.c index 9dfa271..c397b3d 100644 --- a/drivers/block/paride/pg.c +++ b/drivers/block/paride/pg.c @@ -422,7 +422,7 @@ static void xs(char *buf, char *targ, int len) for (k = 0; k < len; k++) { char c = *buf++; - if (c != ' ' || c != l) + if (c != ' ' && c != l) l = *targ++ = c; } if (l == ' ')
| |