Changeset 87 in libcf for trunk/src/cf_log.c
- Timestamp:
- 05/11/13 00:42:10 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/cf_log.c
r86 r87 394 394 ? LOG_BUFFER_DEFAULT_SIZE 395 395 : memsize; 396 396 397 CF_LOG_CTX * context = NULL; 397 398 … … 426 427 context->size = (size_t) size; 427 428 } 429 430 *ctx = (CF_Log_Ctx) context; 428 431 } 429 432 CATCH_IF (result < 0) 430 433 { 431 434 CF_Log_DestroyCtx ((CF_Log_Ctx) context); 432 return result; 433 } 434 435 *ctx = (CF_Log_Ctx) context; 435 } 436 436 437 437 return CF_OK; … … 674 674 return result; 675 675 676 result = (flag == CF_TRUE) 677 ? CF_Log_SetMultiThread (ctx) 678 : CF_Log_UnsetMultiThread (ctx); 676 if (flag) 677 result = CF_Log_SetMultiThread (ctx); 678 else 679 result = CF_Log_UnsetMultiThread (ctx); 679 680 680 681 return result;
Note:
See TracChangeset
for help on using the changeset viewer.