Changeset 65 for trunk/src


Ignore:
Timestamp:
Oct 29, 2006, 11:33:21 PM (18 years ago)
Author:
rainer
Message:

Fix some minor bugs.

Location:
trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/sh_error.c

    r34 r65  
    11301130            class != AUD                               )
    11311131#ifdef SH_WITH_SERVER
    1132            || (flag_inet == S_TRUE) /* always log inet to export */
     1132           /* always log inet to export */
     1133           || (flag_inet == S_TRUE && sh.srvexport.name[0] != '\0')
    11331134#endif
    11341135          /* sh.flag.isserver != GOOD                    && */
     
    15581559  flag_err_info           = SL_TRUE;
    15591560#endif
     1561
     1562#if defined(SH_WITH_SERVER)
     1563  errFlags.exportlevel    = SH_ERR_NOT;
     1564#else
    15601565  errFlags.exportlevel    = (SH_ERR_STAMP | SH_ERR_ERR    | SH_ERR_SEVERE |
    15611566                             SH_ERR_FATAL);
     1567#endif
    15621568
    15631569  errFlags.log_class      = 0xFFFF;
  • trunk/src/sh_unix.c

    r59 r65  
    30903090                   KEY_LEN + 1);
    30913091
    3092       tmp2 = sh_util_safe_name (theFile->fullpath);
    3093       sh_error_handle (level, FIL__, __LINE__, fstat_return, MSG_E_READ,
    3094                        tmp2);
    3095       SH_FREE(tmp2);
     3092      if ((theFile->check_mask & MODI_CHK) != 0)
     3093        {
     3094          tmp2 = sh_util_safe_name (theFile->fullpath);
     3095          sh_error_handle (level, FIL__, __LINE__, fstat_return, MSG_E_READ,
     3096                           tmp2);
     3097          SH_FREE(tmp2);
     3098        }
    30963099    }     
    30973100
Note: See TracChangeset for help on using the changeset viewer.