Skip to content

Commit 90bbec9

Browse files
committed
Changes to MD5Builder missing from the last commit
1 parent 063e4cc commit 90bbec9

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cores/esp8266/MD5Builder.cpp

+1-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ uint8_t hex_char_to_byte(uint8_t c)
55
{
66
return (c >= 'a' && c <= 'f') ? (c - ((uint8_t)'a' - 0xa)) :
77
(c >= 'A' && c <= 'F') ? (c - ((uint8_t)'A' - 0xA)) :
8-
(c >= '0'&& c<= '9') ? (c - (uint8_t)'0') : 0;
8+
(c >= '0' && c<= '9') ? (c - (uint8_t)'0') : 0;
99
}
1010

1111
void MD5Builder::begin(void)
@@ -72,7 +72,6 @@ bool MD5Builder::addStream(Stream & stream, const size_t maxLen)
7272
maxLengthLeft -= numBytesRead;
7373
bytesAvailable = stream.available();
7474
}
75-
printf("ba: %d mll: %d\n", bytesAvailable, maxLengthLeft);
7675
free(buf);
7776
return true;
7877
}

0 commit comments

Comments
 (0)