mirror of
https://github.com/curl/curl.git
synced 2026-08-25 02:33:31 +03:00
examples: socket type cleanup
This commit is contained in:
parent
f0aad0089e
commit
bcfb9ea34c
3 changed files with 12 additions and 7 deletions
|
|
@ -350,7 +350,7 @@ static int init_fifo (GlobalInfo *g)
|
|||
{
|
||||
struct stat st;
|
||||
static const char *fifo = "hiper.fifo";
|
||||
int sockfd;
|
||||
curl_socket_t sockfd;
|
||||
|
||||
fprintf(MSG_OUT, "Creating named pipe \"%s\"\n", fifo);
|
||||
if (lstat (fifo, &st) == 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue