Changeset 728 for trunk/client/src


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

Samba Client 2.2: prevent crash like in ticket 204

Location:
trunk/client/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/client/src/help/changelog.txt

    r691 r728  
    773773   <$LI> wis Skript Žnderungen
    774774#endif
     775#ifndef txt
     776:eul.
     777#endif
     778
     779 <$UL>GA:
     780#ifndef txt
     781:ul compact.
     782#endif
     783#ifdef en
     784   <$LI> Ticket #204
     785   <$LI> wis script changes
     786#endif
     787#ifdef fr
     788   <$LI> Ticket nø 204
     789   <$LI> Modification de script wis
     790#endif
     791#ifdef de
     792   <$LI> Ticket #204
     793   <$LI> wis Skript Žnderungen
     794#endif
    775795
    776796#ifndef txt
  • trunk/client/src/ndpsmb.c

    r589 r728  
    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.