Ignore:
Timestamp:
Apr 9, 2010, 3:20:58 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.5.x: update to 3.5.2

Location:
vendor/current/source3/libsmb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/libsmb/clientgen.c

    r414 r427  
    696696void cli_shutdown(struct cli_state *cli)
    697697{
     698        if (cli == NULL) {
     699                return;
     700        }
     701
    698702        if (cli->prev == NULL) {
    699703                /*
  • vendor/current/source3/libsmb/clierror.c

    r414 r427  
    360360        }
    361361}
     362
     363bool cli_state_is_connected(struct cli_state *cli)
     364{
     365        if (cli == NULL) {
     366                return false;
     367        }
     368
     369        if (!cli->initialised) {
     370                return false;
     371        }
     372
     373        if (cli->fd == -1) {
     374                return false;
     375        }
     376
     377        return true;
     378}
     379
Note: See TracChangeset for help on using the changeset viewer.