Mercurial > pidgin
comparison libpurple/protocols/msn/directconn.c @ 18431:5bc6c4097a77
accept() wants a pointer to a socklen_t, not an unsigned int. This has no programattic effect, since we don't actually use the return value, but it silences a warning on my system.
author | Evan Schoenberg <evan.s@dreskin.net> |
---|---|
date | Wed, 04 Jul 2007 15:26:17 +0000 |
parents | 32c366eeeb99 |
children | 44b4e8bd759b 25542d5c94ed |
comparison
equal
deleted
inserted
replaced
18430:0877d661a6ff | 18431:5bc6c4097a77 |
---|---|
368 fd = source; | 368 fd = source; |
369 } | 369 } |
370 else | 370 else |
371 { | 371 { |
372 struct sockaddr_in client_addr; | 372 struct sockaddr_in client_addr; |
373 unsigned int client; | 373 socklen_t client; |
374 fd = accept (source, (struct sockaddr *)&client_addr, &client); | 374 fd = accept (source, (struct sockaddr *)&client_addr, &client); |
375 } | 375 } |
376 | 376 |
377 directconn->fd = fd; | 377 directconn->fd = fd; |
378 | 378 |