[hackers] [sbase] Fix compilation error || FRIGN

From: <git_AT_suckless.org>
Date: Sun, 21 Feb 2016 09:52:55 +0100 (CET)

commit 6adb9b8ccd9a557efb98837c89661ed69aacc984
Author: FRIGN <dev_AT_frign.de>
AuthorDate: Sat Feb 20 21:54:12 2016 +0100
Commit: sin <sin_AT_2f30.org>
CommitDate: Sun Feb 21 08:52:48 2016 +0000

    Fix compilation error

diff --git a/libutil/unescape.c b/libutil/unescape.c
index be18d1f..90a62c3 100644
--- a/libutil/unescape.c
+++ b/libutil/unescape.c
_AT_@ -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++)
Received on Sun Feb 21 2016 - 09:52:55 CET

This archive was generated by hypermail 2.3.0 : Sun Feb 21 2016 - 10:00:23 CET