]> granicus.if.org Git - curl/commit
NI_MAXSERV: remove all use of it
authorDaniel Stenberg <daniel@haxx.se>
Tue, 10 Sep 2013 21:18:43 +0000 (23:18 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Tue, 10 Sep 2013 21:18:43 +0000 (23:18 +0200)
commit0b5ae7c80eb41ea75b10e5195286e6d0c35cef88
tree8df509275a4aaa6f07f3d3fac6c2279817d9cf31
parent0d55f4e1bcc80a457037f3b37cfeedcb076eeed0
NI_MAXSERV: remove all use of it

Solaris with the SunStudio Compiler is reportedly missing this define,
but as we're using it without any good reason on all the places it was
used I've now instead switched to just use sensible buffer sizes that
fit a 32 bit decimal number. Which also happens to be smaller than the
common NI_MAXSERV value which is 32 on most machines.

Bug: http://curl.haxx.se/bug/view.cgi?id=1277
Reported-by: D.Flinkmann
lib/asyn-thread.c
lib/hostip4.c
lib/hostip6.c