aboutsummaryrefslogtreecommitdiff
path: root/src/hex_utils.c
diff options
context:
space:
mode:
authorGareth McMullin2013-06-17 15:53:32 +1200
committerGareth McMullin2013-06-17 15:53:32 +1200
commit8c877d6dfa5aff2b70ce2c96ef6314bcae7a25c2 (patch)
treeedb96d39d96f3969796d54fa09ccca4827318395 /src/hex_utils.c
parent2d63dd4b5b01df2406cda71ee1fb08968b14fd0a (diff)
Fix trailing whitespace everywhere.
Diffstat (limited to 'src/hex_utils.c')
-rw-r--r--src/hex_utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hex_utils.c b/src/hex_utils.c
index 6629f10..e477281 100644
--- a/src/hex_utils.c
+++ b/src/hex_utils.c
@@ -18,7 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-/* Convenience function to convert to/from ascii strings of hex digits.
+/* Convenience function to convert to/from ascii strings of hex digits.
*/
#include <stdio.h>
@@ -44,9 +44,9 @@ char * hexify(char *hex, const unsigned char *buf, int size)
static uint8_t unhex_digit(char hex)
{
uint8_t tmp = hex - '0';
- if(tmp > 9)
+ if(tmp > 9)
tmp -= 'A' - '0' - 10;
- if(tmp > 16)
+ if(tmp > 16)
tmp -= 'a' - 'A';
return tmp;
}