Changeset 45 in libcf for trunk/src/cf_log.c


Ignore:
Timestamp:
03/20/13 15:38:28 (11 years ago)
Author:
cheese
Message:

#1 fix code-style

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/cf_log.c

    r42 r45  
    362362    CF_File_Close (context->fd);
    363363
    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;
    371366
    372367    return CF_OK;
Note: See TracChangeset for help on using the changeset viewer.