sbase

suckless unix tools
git clone git://git.suckless.org/sbase
Log | Files | Refs | README | LICENSE

commit 6adb9b8ccd9a557efb98837c89661ed69aacc984
parent 0d97bd3f5775408321169be292b6744b0ee6a8ae
Author: FRIGN <dev@frign.de>
Date:   Sat, 20 Feb 2016 21:54:12 +0100

Fix compilation error

Diffstat:
Mlibutil/unescape.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libutil/unescape.c b/libutil/unescape.c @@ -62,7 +62,7 @@ unescape(char *s) q += (s[m] - '0') * factor; factor *= 8; } - s[i] = (q > 255) 255 : q; + s[i] = (q > 255) ? 255 : q; } for (m = i + 1; m <= len - off; m++)