Changeset 18468 for src/router/samba36/source3/libsmb/nterr.c
- Timestamp:
- 02/14/12 01:48:40 (16 months ago)
- File:
-
- 1 edited
-
src/router/samba36/source3/libsmb/nterr.c (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
src/router/samba36/source3/libsmb/nterr.c
r18451 r18468 703 703 } 704 704 705 #ifdef VERBOSE_ERROR 705 706 while (nt_errs[idx].nt_errstr != NULL) { 706 707 if (NT_STATUS_V(nt_errs[idx].nt_errcode) == … … 710 711 idx++; 711 712 } 713 #endif 712 714 713 715 result = talloc_asprintf(talloc_tos(), "NT code 0x%08x", … … 725 727 int idx = 0; 726 728 729 #ifdef VERBOSE_ERROR 727 730 while (nt_err_desc[idx].nt_errstr != NULL) { 728 731 if (NT_STATUS_V(nt_err_desc[idx].nt_errcode) == NT_STATUS_V(nt_code)) { … … 731 734 idx++; 732 735 } 736 #endif 733 737 734 738 /* fall back to NT_STATUS_XXX string */ … … 746 750 int idx = 0; 747 751 752 #ifdef VERBOSE_ERROR 748 753 while (nt_errs[idx].nt_errstr != NULL) { 749 754 if (NT_STATUS_V(nt_errs[idx].nt_errcode) == … … 753 758 idx++; 754 759 } 760 #endif 755 761 756 762 result = talloc_asprintf(talloc_tos(), "NT_STATUS(0x%08x)", … … 768 774 int idx = 0; 769 775 776 #ifdef VERBOSE_ERROR 770 777 while (nt_errs[idx].nt_errstr != NULL) { 771 778 if (strcasecmp(nt_errs[idx].nt_errstr, nt_status_str) == 0) { … … 774 781 idx++; 775 782 } 783 #endif 776 784 return NT_STATUS_UNSUCCESSFUL; 777 785 }
Note: See TracChangeset
for help on using the changeset viewer.
