Changeset 80c1e4d
- Timestamp:
- 2006-05-24T23:31:20Z (19 years ago)
- Branches:
- master
- Children:
- 51a4ffb
- Parents:
- 601e813
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
bitlbee.c
r601e813 r80c1e4d 123 123 ipc_master_listen_socket(); 124 124 125 #ifndef _WIN32 125 126 if( ( fp = fopen( global.conf->pidfile, "w" ) ) ) 126 127 { … … 132 133 log_message( LOGLVL_WARNING, "Warning: Couldn't write PID to `%s'", global.conf->pidfile ); 133 134 } 135 #endif 134 136 135 137 return( 0 ); … … 253 255 struct sockaddr_in conn_info; 254 256 int new_socket = accept( global.listen_socket, (struct sockaddr *) &conn_info, &size ); 255 pid_t client_pid = 0;256 257 257 258 if( new_socket == -1 ) … … 261 262 } 262 263 264 #ifndef _WIN32 263 265 if( global.conf->runmode == RUNMODE_FORKDAEMON ) 264 266 { 267 pid_t client_pid = 0; 265 268 int fds[2]; 266 269 … … 313 316 } 314 317 else 318 #endif 315 319 { 316 320 log_message( LOGLVL_INFO, "Creating new connection with fd %d.", new_socket ); -
ipc.c
r601e813 r80c1e4d 417 417 } 418 418 419 #ifndef _WIN32 419 420 char *ipc_master_save_state() 420 421 { … … 484 485 } 485 486 486 #ifndef _WIN32487 487 int ipc_master_listen_socket() 488 488 { -
protocols/ssl_sspi.c
r601e813 r80c1e4d 39 39 { 40 40 int fd; 41 SslInputFunction func;41 ssl_input_function func; 42 42 gpointer data; 43 43 gboolean established; … … 60 60 } 61 61 62 void *ssl_connect( char *host, int port, SslInputFunction func, gpointer data )62 void *ssl_connect( char *host, int port, ssl_input_function func, gpointer data ) 63 63 { 64 64 struct scd *conn = g_new0( struct scd, 1 );
Note: See TracChangeset
for help on using the changeset viewer.