summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/common.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/utils/common.c b/utils/common.c
index 08c7c1f..12c3bd4 100644
--- a/utils/common.c
+++ b/utils/common.c
@@ -55,10 +55,8 @@ hexread(unsigned char *result, const unsigned char *in, unsigned int len)
unsigned char *res = result;
for (pos = in; pos-in <= len-2; pos+=2) {
- if (*pos == ':') {
+ if (*pos == ':')
pos++;
- continue;
- }
dig1 = *pos;
dig2 = *(pos+1);
personal git repositories of Harald Welte. Your mileage may vary