Remove an incorrect string termination attempt
authorFabian Keil <fk@fabiankeil.de>
Fri, 18 Nov 2011 23:53:26 +0000 (23:53 +0000)
committerFabian Keil <fk@fabiankeil.de>
Fri, 18 Nov 2011 23:53:26 +0000 (23:53 +0000)
commit0b2f8bed5cd5f8ea2c0a041fe0e3b5395cc31ba6
tree79dc8995764267ec2259acc47577317b2118b77b
parentfb678fa66e901c01900841c6924f08a0d06f1489
Remove an incorrect string termination attempt

It could cause segmentations faults when Privoxy was compiled
without RFC2553 support as *port[NI_MAXSERV - 1] isn't actually
the last position in the allocated memory region.

Given that snprintf() already produces a proper string
the attempt can simply be discarded. The bug was introduced
in 1.105 and is thus not relevant for the ChangeLog.
jbsockets.c