Ignore:
Timestamp:
02/14/12 01:48:40 (16 months ago)
Author:
BrainSlayer
Message:

even smaller. 1.7mb now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/router/samba36/source3/libsmb/nterr.c

    r18451 r18468  
    703703        } 
    704704 
     705#ifdef VERBOSE_ERROR 
    705706        while (nt_errs[idx].nt_errstr != NULL) { 
    706707                if (NT_STATUS_V(nt_errs[idx].nt_errcode) == 
     
    710711                idx++; 
    711712        } 
     713#endif 
    712714 
    713715        result = talloc_asprintf(talloc_tos(), "NT code 0x%08x", 
     
    725727        int idx = 0; 
    726728 
     729#ifdef VERBOSE_ERROR 
    727730        while (nt_err_desc[idx].nt_errstr != NULL) { 
    728731                if (NT_STATUS_V(nt_err_desc[idx].nt_errcode) == NT_STATUS_V(nt_code)) { 
     
    731734                idx++; 
    732735        } 
     736#endif 
    733737 
    734738        /* fall back to NT_STATUS_XXX string */ 
     
    746750        int idx = 0; 
    747751 
     752#ifdef VERBOSE_ERROR 
    748753        while (nt_errs[idx].nt_errstr != NULL) { 
    749754                if (NT_STATUS_V(nt_errs[idx].nt_errcode) == 
     
    753758                idx++; 
    754759        } 
     760#endif 
    755761 
    756762        result = talloc_asprintf(talloc_tos(), "NT_STATUS(0x%08x)", 
     
    768774        int idx = 0; 
    769775 
     776#ifdef VERBOSE_ERROR 
    770777        while (nt_errs[idx].nt_errstr != NULL) { 
    771778                if (strcasecmp(nt_errs[idx].nt_errstr, nt_status_str) == 0) { 
     
    774781                idx++; 
    775782        } 
     783#endif 
    776784        return NT_STATUS_UNSUCCESSFUL; 
    777785} 
Note: See TracChangeset for help on using the changeset viewer.