Changeset 727 for branches


Ignore:
Timestamp:
Nov 12, 2012, 10:48:03 AM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Client 2.1: prevent crash like in ticket 204

Location:
branches/client-2.1/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/client-2.1/src/help/changelog.txt

    r692 r727  
    742742   <$LI> wis Skript Žnderungen
    743743#endif
    744 
     744#ifndef txt
     745:eul.
     746#endif
     747
     748 <$UL>2.1.3 GA:
     749#ifndef txt
     750:ul compact.
     751#endif
     752#ifdef en
     753   <$LI> Ticket #204
     754   <$LI> wis script changes
     755#endif
     756#ifdef fr
     757   <$LI> Ticket nø 204
     758   <$LI> Modification de script wis
     759#endif
     760#ifdef de
     761   <$LI> Ticket #204
     762   <$LI> wis Skript Žnderungen
     763#endif
    745764
    746765#ifndef txt
  • branches/client-2.1/src/ndpsmb.c

    r589 r727  
    947947        smbwrp_fileinfo finfo;
    948948        int rc = 0;
     949        int rcCon = 0;
    949950        unsigned long action;
    950951        char path[CCHMAXPATH+1] = {0};
     
    10081009                                    smbwrp_disconnect( pRes, pConn->cli);
    10091010                                    // reconnect
    1010                                     smbwrp_connect( pRes, &pConn->cli);
    1011                                     // try file list again
     1011                                    rcCon = smbwrp_connect( pRes, &pConn->cli);
     1012                                    if (rcCon != NO_ERROR)
     1013                                    debuglocal(9,"NdpQueryPathInfo smbwrp_connect rc = %d\n", rcCon);
     1014
     1015                                    // try file list again if reconnecting worked
     1016                                    if (rcCon == NO_ERROR)
    10121017                                    rc = smbwrp_getattr( &pRes->srv, pConn->cli, &finfo);
    1013                                     debuglocal(9,"NdpQueryPathInfo remote connection lost, rc = %d\n", rc);
    10141018                                }
     1019                                debuglocal(9,"NdpQueryPathInfo smbwrp_getattr, rc = %d\n", rc);
    10151020                                switch (rc)
    10161021                                {
Note: See TracChangeset for help on using the changeset viewer.