Changeset 488 for trunk/src/sh_hash.c
- Timestamp:
- Sep 18, 2015, 7:39:03 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/sh_hash.c
r481 r488 248 248 249 249 SH_MUTEX_LOCK(mutex_thread_nolog); 250 sh_error_handle (level, FIL__, __LINE__, 0, 251 MSG_FI_MISS2, tmp, str); 250 if (!sh_global_check_silent) 251 sh_error_handle (level, FIL__, __LINE__, 0, 252 MSG_FI_MISS2, tmp, str); 252 253 SH_MUTEX_UNLOCK(mutex_thread_nolog); 253 254 ++sh.statistics.files_report; … … 363 364 theFile = sh_hash_create_ft (p, fileHash); 364 365 str = all_items(theFile, fileHash, 0); 365 sh_error_handle (level, FIL__, __LINE__, 0, 366 MSG_FI_MISS2, tmp, str); 366 if (!sh_global_check_silent) 367 sh_error_handle (level, FIL__, __LINE__, 0, 368 MSG_FI_MISS2, tmp, str); 367 369 ++sh.statistics.files_report; 368 370 SH_FREE(str); … … 405 407 theFile = sh_hash_create_ft (p, fileHash); 406 408 str = all_items(theFile, fileHash, 0); 407 sh_error_handle (level, FIL__, __LINE__, 0, 408 MSG_FI_MISS2, tmp, str); 409 if (!sh_global_check_silent) 410 sh_error_handle (level, FIL__, __LINE__, 0, 411 MSG_FI_MISS2, tmp, str); 409 412 ++sh.statistics.files_report; 410 413 SH_FREE(str); … … 1812 1815 str = all_items (theFile, fileHash, 1); 1813 1816 1814 sh_error_handle (log_severity, FIL__, __LINE__, 0, 1815 MSG_FI_ADD2, 1816 tmp, str); 1817 if (!sh_global_check_silent) 1818 sh_error_handle (log_severity, FIL__, __LINE__, 0, 1819 MSG_FI_ADD2, 1820 tmp, str); 1817 1821 ++sh.statistics.files_report; 1818 1822 SH_FREE(str); … … 2540 2544 { 2541 2545 char result[256]; 2542 2543 if (NULL != sh_audit_fetch (theFile->fullpath, theFile->mtime, result, sizeof(result))) 2546 2547 sh_error_handle (SH_ERR_INFO, FIL__, __LINE__, 2548 0, MSG_E_SUBGPATH, 2549 _("Fetching audit record"), 2550 _("sh_hash"), theFile->fullpath ); 2551 2552 if (NULL != sh_audit_fetch (theFile->fullpath, theFile->mtime, theFile->ctime, result, sizeof(result))) 2544 2553 { 2545 2554 #ifdef SH_USE_XML … … 2565 2574 ****************************************************/ 2566 2575 tmp_path = sh_util_safe_name(theFile->fullpath); 2567 sh_error_handle(log_severity, FIL__, __LINE__, 2568 (long) modi_mask, MSG_FI_CHAN, 2569 (policy_override == NULL) ? _(policy[class]):log_policy, 2570 change_code, tmp_path, msg); 2576 if (!sh_global_check_silent) 2577 sh_error_handle(log_severity, FIL__, __LINE__, 2578 (long) modi_mask, MSG_FI_CHAN, 2579 (policy_override == NULL) ? _(policy[class]):log_policy, 2580 change_code, tmp_path, msg); 2571 2581 ++sh.statistics.files_report; 2572 2582
Note:
See TracChangeset
for help on using the changeset viewer.