aboutsummaryrefslogtreecommitdiff
path: root/flx
diff options
context:
space:
mode:
Diffstat (limited to 'flx')
-rw-r--r--flx/Makefile6
-rw-r--r--flx/utils.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/flx/Makefile b/flx/Makefile
index 02b7847..6bee331 100644
--- a/flx/Makefile
+++ b/flx/Makefile
@@ -20,13 +20,13 @@
#
# File: Makefile
-# Version: 0.6
-# Date: Sun Dec 23 14:21:50 CET 2001
+# Version: 0.7.2
+# Date: Thu Jul 20 20:54:50 CET 2006
#
NAME=flx
-VERSION=0.7.1
+VERSION=0.7.2
SRC=main.c arg.c utils.c md5.c flx.c fct1.c check.c sign.c \
input.c input_fs.c input_file.c \
output.c output_file.c
diff --git a/flx/utils.c b/flx/utils.c
index 79af51c..6b0272a 100644
--- a/flx/utils.c
+++ b/flx/utils.c
@@ -146,8 +146,8 @@ char *escape_str(char *s) {
}
else {
*pbuff++ = '%';
- *pbuff++ = DEC2HEX(*s/16);
- *pbuff++ = DEC2HEX(*s%16);
+ *pbuff++ = DEC2HEX((*s >> 4) & 0xF);
+ *pbuff++ = DEC2HEX(*s & 0xF);
s++;
len += 3;
}