We don't support any long protocol names so we can use a smaller buffer.
authorDaniel Stenberg <daniel@haxx.se>
Fri, 7 May 2004 18:46:28 +0000 (18:46 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Fri, 7 May 2004 18:46:28 +0000 (18:46 +0000)
commit3394c01826aef99a645db398c1fb6bce4693bd35
treec03e8d01e78b5db486cdb66c53e06de054a7fd98
parentd67ea8c7ad76380c9c757072d402f62513985a05
We don't support any long protocol names so we can use a smaller buffer.
Also, make sure we have room for the trailing zero, only scan to size-1.

Gisle Vanem reported.
lib/url.c
lib/urldata.h