aboutsummaryrefslogtreecommitdiff
path: root/send+dump/htmsocket.c
diff options
context:
space:
mode:
authorjdl <x75@users.sourceforge.net>2002-10-20 16:01:10 +0000
committerjdl <x75@users.sourceforge.net>2002-10-20 16:01:10 +0000
commit749a6ec63a8f257c2b54511f1d7a5467ea4c38d9 (patch)
treecc19243d19b5a825456ac009b36d0765c4241dc3 /send+dump/htmsocket.c
parent32277d1a5af19be53733fe77949e4efda17cdd7e (diff)
reduce warnings pass #1
svn path=/trunk/externals/OSCx/; revision=179
Diffstat (limited to 'send+dump/htmsocket.c')
-rw-r--r--send+dump/htmsocket.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/send+dump/htmsocket.c b/send+dump/htmsocket.c
index e4f447f..cb00d4f 100644
--- a/send+dump/htmsocket.c
+++ b/send+dump/htmsocket.c
@@ -93,8 +93,8 @@ void *OpenHTMSocket(char *host, int portnumber)
return 0;
if(!host)
{
- char *mktemp(char *);
- int clilen;
+ // char *mkstemp(char *);
+ int clilen;
o->len = sizeof(ucl_addr);
/*
* Fill in the structure "userv_addr" with the address of the
@@ -124,7 +124,7 @@ void *OpenHTMSocket(char *host, int portnumber)
ucl_addr.sun_family = AF_UNIX;
strcpy(ucl_addr.sun_path, UNIXDG_TMP);
- mktemp(ucl_addr.sun_path);
+ mkstemp(ucl_addr.sun_path);
clilen = sizeof(ucl_addr.sun_family) + strlen(ucl_addr.sun_path);
if (bind(sockfd, (struct sockaddr *) &ucl_addr, clilen) < 0)