mirror of
https://github.com/FirebirdSQL/firebird.git
synced 2025-01-23 22:03:03 +01:00
fixed posix build and warnings
This commit is contained in:
parent
55d690d97c
commit
3d8aea7bba
@ -48,7 +48,7 @@
|
||||
#include "../utilities/ibmgr/ibmgrswi.h"
|
||||
#include "../jrd/license.h"
|
||||
#include "../utilities/ibmgr/srvrmgr_proto.h"
|
||||
|
||||
#include "../common/utils_proto.h"
|
||||
|
||||
|
||||
const int MAXARGS = 20; /* max number of args allowed on command line */
|
||||
@ -159,7 +159,7 @@ int CLIB_ROUTINE main( int argc, char **argv)
|
||||
But obviously we will need attachment.
|
||||
*/
|
||||
ibmgr_data.shutdown = false;
|
||||
ibmgr_data.attached = NULL;
|
||||
ibmgr_data.attached = 0;
|
||||
ibmgr_data.reattach |= (REA_HOST | REA_USER | REA_PASSWORD);
|
||||
|
||||
|
||||
|
@ -384,7 +384,7 @@ static bool detach_service( ibmgr_data_t* data)
|
||||
fb_assert(data->attached);
|
||||
|
||||
isc_service_detach(status, &data->attached);
|
||||
data->attached = NULL;
|
||||
data->attached = 0;
|
||||
|
||||
if (status[0] == 1 && status[1] > 0) {
|
||||
/* If as a result of detach_service server has been
|
||||
@ -602,7 +602,7 @@ static bool server_is_up( ibmgr_data_t* data)
|
||||
**************************************/
|
||||
ISC_STATUS_ARRAY status;
|
||||
TEXT svc_name[128];
|
||||
isc_svc_handle svc_handle = NULL;
|
||||
isc_svc_handle svc_handle = 0;
|
||||
|
||||
/* Obviously we should not be already attached to service
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user