ossp-pkg/var/var.c 1.89 -> 1.90
--- var.c 2002/03/08 12:55:52 1.89
+++ var.c 2002/07/05 20:17:16 1.90
@@ -527,9 +527,9 @@
if (**src >= '0' && **src <= '9')
c = **src - '0';
- else if (c >= 'a' && c <= 'f')
+ else if (**src >= 'a' && **src <= 'f')
c = **src - 'a' + 10;
- else if (c >= 'A' && c <= 'F')
+ else if (**src >= 'A' && **src <= 'F')
c = **src - 'A' + 10;
c = c << 4;
@@ -542,7 +542,7 @@
else if (**src >= 'A' && **src <= 'F')
c += **src - 'A' + 10;
- **dst = (char) c;
+ **dst = (char)c;
(*dst)++;
return VAR_OK;
}
|
|