Skip to content

Commit

Permalink
Merge pull request #512 from step-/add-file-method
Browse files Browse the repository at this point in the history
add file:// method
  • Loading branch information
michaelrsweet authored Nov 21, 2024
2 parents 274189f + 1510719 commit af88ce6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions htmldoc/file.c
Original file line number Diff line number Diff line change
Expand Up @@ -930,6 +930,8 @@ file_method(const char *s) /* I - Filename or URL */
return ("ftp");
else if (strncmp(s, "mailto:", 7) == 0)
return ("mailto");
else if (strncmp(s, "file:", 5) == 0)
return ("file");
else
return (NULL);
}
Expand Down

0 comments on commit af88ce6

Please sign in to comment.