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

Samba 3.5.x: trunk update to 3.5.2

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/libsmb/clierror.c

    r414 r429  
    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.