diff options
author | Luke Leighton <lkcl@samba.org> | 1999-12-22 02:00:13 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-12-22 02:00:13 +0000 |
commit | ac8d8d9bf3ad1f19dc8e25c922ccde82e62c5b4b (patch) | |
tree | 0fcd2fd427743454d60d50b8286920ca819bcdc1 /source/winregd | |
parent | 87810bc4b73e0f39f844a381ceb5b7a1f2a81ea1 (diff) | |
download | samba-ac8d8d9bf3ad1f19dc8e25c922ccde82e62c5b4b.tar.gz |
i don't get it. there's some memory corruption somewhere. i turned
-DMEM_MAN on, and the memory corruption went away. AGH!
trying various clean-ups and adding various debug messages to track it
down.
Diffstat (limited to 'source/winregd')
-rw-r--r-- | source/winregd/winregd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/winregd/winregd.c b/source/winregd/winregd.c index c317ddd6f44..9d1fde7972c 100644 --- a/source/winregd/winregd.c +++ b/source/winregd/winregd.c @@ -30,8 +30,9 @@ extern BOOL append_log; /************************************************************************* initialise an msrpc service *************************************************************************/ -void msrpc_service_init(void) +void msrpc_service_init(char* service_name) { + add_msrpc_command_processor( pipe_name, service_name, api_reg_rpc ); } /**************************************************************************** @@ -91,7 +92,6 @@ BOOL reload_services(BOOL test) setup_logging(argv[0],False); fstrcpy(pipe_name, "winreg"); slprintf(debugf, sizeof(debugf), "%s/log.%s", LOGFILEBASE, pipe_name); - add_msrpc_command_processor( pipe_name, argv[0], api_reg_rpc ); return msrpc_main(argc, argv); } |