diff options
author | jdl <x75@users.sourceforge.net> | 2002-10-20 16:01:10 +0000 |
---|---|---|
committer | jdl <x75@users.sourceforge.net> | 2002-10-20 16:01:10 +0000 |
commit | 749a6ec63a8f257c2b54511f1d7a5467ea4c38d9 (patch) | |
tree | cc19243d19b5a825456ac009b36d0765c4241dc3 /send+dump/htmsocket.c | |
parent | 32277d1a5af19be53733fe77949e4efda17cdd7e (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.c | 6 |
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) |