]> granicus.if.org Git - curl/commit
url: refactor the check for Windows drive letter in path
authorJay Satiro <raysatiro@yahoo.com>
Wed, 14 Jun 2017 01:42:59 +0000 (21:42 -0400)
committerJay Satiro <raysatiro@yahoo.com>
Fri, 16 Jun 2017 07:03:25 +0000 (03:03 -0400)
commit2a733d641839eda8ff511d780b05bf18894fe603
treefb187890b2e81b0c13e5c288be7b5a91a5d7f03e
parentec92afc3f4b2ecdd26b01b6a59e8fbddd5783e67
url: refactor the check for Windows drive letter in path

- Move the logic to detect a Windows drive letter prefix
  (eg c: in c:foo) into a function-like macro.

Closes https://github.com/curl/curl/pull/1571
lib/url.c