Ignore:
Timestamp:
Jan 28, 2010, 6:52:33 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Remove deprecated LOGFILE token

Location:
branches/client-1.5/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/client-1.5/src/ndpsmb.c

    r395 r396  
    207207        {ND_PROP_STRING, 0, "MASTER", "WORKGROUP"},
    208208        { ND_PROP_ULONG, 0, "MASTERTYPE", "1"},
    209         {ND_PROP_STRING, 0, "LOGFILE", ""},
     209//      {ND_PROP_STRING, 0, "LOGFILE", ""},
    210210        { ND_PROP_ULONG, 0, "LOGLEVEL", "0"},
    211211        { ND_PROP_ULONG, 0, "EASUPPORT", "1"},
     
    388388
    389389        pRes->rootlevel = 0;
    390         *pRes->logfile = 0;
     390//      *pRes->logfile = 0;
    391391        pRes->loglevel = 0;
    392392        pRes->easupport = 1;
     
    474474
    475475        t = 0, q = NULL;
    476         rc = ph->fsphQueryStringProperty (properties, "LOGFILE", &q, &t);
     476/*      rc = ph->fsphQueryStringProperty (properties, "LOGFILE", &q, &t);
    477477        if (!rc && t && *q)
    478478        {
    479479                StrNCpy(pRes->logfile, q, sizeof(pRes->logfile) - 1);
    480480        }
    481 
     481 */
    482482        t = 0;
    483483        rc = ph->fsphQueryUlongProperty (properties, "LOGLEVEL", &t);
  • branches/client-1.5/src/rc/rc.dlg

    r395 r396  
    3030                        WS_VISIBLE
    3131        ENTRYFIELD      "", ENT_MASTER, 147, 33, 90, 8, ES_MARGIN
    32         LTEXT           "Logfile:", LBL_LOGFILE, 251, 124, 11, 10, DT_BOTTOM |
    33                         NOT WS_VISIBLE
    34         ENTRYFIELD      "", ENT_LOGFILE, 254, 112, 7, 8, ES_MARGIN | NOT
    35                         WS_VISIBLE
    36         LTEXT           "Loglevel:", LBL_LOGLEVEL, 251, 131, 13, 10,
    37                         DT_BOTTOM | NOT WS_VISIBLE
    38         SPINBUTTON      CMB_LOGLEVEL, 252, 12, 8, 35, SPBS_NUMERICONLY |
    39                         SPBS_MASTER | SPBS_JUSTRIGHT | WS_GROUP | NOT
    40                         WS_VISIBLE
    4132        LTEXT           "Supports EA", LBL_EASUPPORT, 195, 104, 52, 10,
    4233                        DT_WORDBREAK
  • branches/client-1.5/src/rc/rc.h

    r395 r396  
    1616#define CMB_MASTER                  1013
    1717#define LBL_PROP                    1016
    18 #define LBL_LOGFILE                 1017
    19 #define ENT_LOGFILE                 1018
    20 #define LBL_LOGLEVEL                1019
    21 #define CMB_LOGLEVEL                1020
    2218#define LBL_EASUPPORT               1021
    2319#define CHK_EASUPPORT               1022
  • branches/client-1.5/src/rc/rc.rc

    r395 r396  
    3434   "Help for command line utility:\r\n"
    3535   "\r\n"
    36    "nd mount smbfs s:\\mountpoint ;workgroup=...;server=...;share=...;user=...;password=...;master=...;mastertype=...;memlen=...;logfile=...;loglevel=...;easupport=...\r\n"
     36   "nd mount smbfs s:\\mountpoint ;workgroup=...;server=...;share=...;user=...;password=...;master=...;mastertype=...;easupport=...\r\n"
    3737   "\r\n"
    3838   "    workgroup - name of workgroup\r\n"
     
    4343   "    master - name of master server or master workgroup\r\n"
    4444   "    mastertype - 0 if 'master' is the name of master server, 1 if 'master' is the name of master workgroup\r\n"
    45    "    logfile - file to log records from smbcd.exe. Used only if smbcd.exe is run by ndpsmb.dll plugin, not manually\r\n"
    46    "    loglevel - level of logging (0-9) for smbcd.exe. Used only if smbcd.exe is run by ndpsmb.dll plugin, not manually\r\n"
    4745   "    easupport - 0 to not support EA, 1 to support\r\n"
    4846   "\r\n"
     
    102100RCDATA (DLG_ID + 7)
    103101{
    104     ENT_LOGFILE, PARMTYPE_STRING, 1L, 256L, "logfile", "%s", ""
    105 }
    106 
    107 RCDATA (DLG_ID + 8)
    108 {
    109     CMB_LOGLEVEL, PARMTYPE_INT, 0L, 9L, "loglevel", "%d", 0L,
    110     "0",
    111     "1",
    112     "2",
    113     "3",
    114     "4",
    115     "5",
    116     "6",
    117     "7",
    118     "8",
    119     "9"
    120 }
    121 
    122 RCDATA (DLG_ID + 9)
    123 {
    124102    CHK_EASUPPORT, PARMTYPE_INT, 0L, 1L, "easupport", "%d", 1L,
    125103    "0",
     
    127105}
    128106   
    129 RCDATA (DLG_ID + 10)
     107RCDATA (DLG_ID + 8)
    130108{
    131109    ENT_SPASS, PARMTYPE_STRING, 1L, 255L, "spassword", "%s", ""
    132110}
    133111
    134 RCDATA (DLG_ID + 11)
     112RCDATA (DLG_ID + 9)
    135113{
    136114    1
Note: See TracChangeset for help on using the changeset viewer.