summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/stuff.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/stuff.c b/mbbsd/stuff.c
index ee645421..57ab3f77 100644
--- a/mbbsd/stuff.c
+++ b/mbbsd/stuff.c
@@ -1038,7 +1038,7 @@ time4_t time4(time4_t *ptr)
#ifdef OUTTACACHE
int tobind(const char * host, int port)
{
- int sockfd, val;
+ int sockfd, val = 1;
struct sockaddr_in servaddr;
if( (sockfd = socket(AF_INET, SOCK_STREAM, 0)) < 0 ) {