Changeset 45 in libcf
- Timestamp:
- 03/20/13 15:38:28 (12 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cf_log.c
r42 r45 362 362 CF_File_Close (context->fd); 363 363 364 if (context->mutex != NULL) 365 { 366 if (CF_Mutex_Destory (&context->mutex) < 0) 367 /* do something ? */; 368 369 context->mutex = NULL; 370 } 364 CF_Mutex_Destory (&context->mutex); 365 context->mutex = NULL; 371 366 372 367 return CF_OK; -
trunk/src/cf_socket.c
r40 r45 299 299 address.sin_port = htons (port); 300 300 301 TRY { 301 TRY 302 { 302 303 result = bind (sock, (struct sockaddr *) &address, sizeof (struct sockaddr)); 303 304 if (result < 0)
Note:
See TracChangeset
for help on using the changeset viewer.