equal
deleted
inserted
replaced
36 list = malloc (strlen (root) + 1 + strlen (entry->d_name) + 1); |
36 list = malloc (strlen (root) + 1 + strlen (entry->d_name) + 1); |
37 sprintf (list, "%s/%s", root, entry->d_name); |
37 sprintf (list, "%s/%s", root, entry->d_name); |
38 |
38 |
39 if (isDir (list)) { |
39 if (isDir (list)) { |
40 fprintf (stderr, "Directory: %s\n", list); |
40 fprintf (stderr, "Directory: %s\n", list); |
|
41 |
41 if (recursive) { |
42 if (recursive) { |
42 md5recursive (list, recursive); |
43 md5recursive (list, recursive); |
43 } |
44 } |
44 free (list); |
45 free (list); |
45 continue; |
46 continue; |