examples: socket type cleanup

This commit is contained in:
Daniel Stenberg
2010-12-18 17:12:44 +01:00
parent f0aad0089e
commit bcfb9ea34c
3 changed files with 12 additions and 7 deletions

View File

@@ -367,7 +367,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 )