We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a83397 commit a278f72Copy full SHA for a278f72
1 file changed
demos/hashsum.c
@@ -90,6 +90,10 @@ static void check_file(int argn, int argc, char **argv)
90
int tries, n;
91
unsigned long hash_len, w, x;
92
char* space = strstr(s, " ");
93
+
94
+ /* skip lines with comments */
95
+ if (buf[0] == '#') continue;
96
97
if (space == NULL) {
98
fprintf(stderr, "%s: no properly formatted checksum lines found\n", hashsum);
99
goto ERR;
0 commit comments