Changeset 398

Show
Ignore:
Timestamp:
01/29/2010 12:01:06 (6 months ago)
Author:
herwigb
Message:

Remove LOGLEVEL token, remove comments

Location:
branches/client-1.5/src
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/client-1.5/src/help/readme.txt

    r397 r398  
    238238   - Fix memory leak in EA code 
    239239   - Ticket #111 
    240    - Remove unused MEMLEN and LOGFILE token 
     240   - Remove unused MEMLEN, LOGFILE and LOGLEVEL token 
    241241     (Compatibility warning: These tokens must also be removed from older 
    242242     *.ndc *.evp and volumes.cfg files in order to restore connections 
  • branches/client-1.5/src/help/readme_de.txt

    r397 r398  
    246246   - Behebung eines Speicherloches im EA-Code 
    247247   - Ticket # 111  
    248    - Die nicht mehr bentzten Token MEMLEN und LOGFILE wurden entfernt. 
     248   - Die nicht mehr bentzten Token MEMLEN, LOGFILE und LOGLEVEL wurden  
     249     entfernt. 
    249250     (ACHTUNG! Kompatibilit„tswarnung: Die Token mssen auch aus alten 
    250251     *.evp, *.ndc und volumes.cfg Dateien entfernt werden, anonsten 
  • branches/client-1.5/src/ndpsmb.c

    r396 r398  
    207207        {ND_PROP_STRING, 0, "MASTER", "WORKGROUP"}, 
    208208        { ND_PROP_ULONG, 0, "MASTERTYPE", "1"}, 
    209 //      {ND_PROP_STRING, 0, "LOGFILE", ""}, 
    210         { ND_PROP_ULONG, 0, "LOGLEVEL", "0"}, 
    211209        { ND_PROP_ULONG, 0, "EASUPPORT", "1"}, 
    212210        {ND_PROP_STRING, 0, NULL, NULL} 
     
    388386 
    389387        pRes->rootlevel = 0; 
    390 //      *pRes->logfile = 0; 
    391         pRes->loglevel = 0; 
    392388        pRes->easupport = 1; 
    393389#ifdef HAVE_KRB5_H 
     
    474470 
    475471        t = 0, q = NULL; 
    476 /*      rc = ph->fsphQueryStringProperty (properties, "LOGFILE", &q, &t); 
    477         if (!rc && t && *q) 
    478         { 
    479                 StrNCpy(pRes->logfile, q, sizeof(pRes->logfile) - 1); 
    480         } 
    481  */ 
    482         t = 0; 
    483         rc = ph->fsphQueryUlongProperty (properties, "LOGLEVEL", &t); 
    484         if (!rc) 
    485         { 
    486                 if (t > 9) 
    487                 { 
    488                         t = 9; 
    489                         rc = ERROR_INVALID_PARAMETER; 
    490                 } 
    491                 pRes->loglevel = t; 
    492         } 
    493472 
    494473        t = 0; 
     
    519498                } 
    520499        } 
    521  
    522 #if 0 
    523         t = 0; 
    524         rc = ph->fsphQueryUlongProperty (properties, "MEMLEN", &t); 
    525         if (!rc) 
    526         { 
    527                 if (t <= (pRes->easupport ? 1 : 0) || t > 10) 
    528                 { 
    529                         rc = ERROR_INVALID_PARAMETER; 
    530                 } 
    531                 else 
    532                 { 
    533                         pRes->memlen = t * 65536; 
    534                 } 
    535         } 
    536 #endif 
    537500 
    538501        return rc;