The branch, master has been updated via 3a2a9d8 idmap: remove unused function idmap_is_online() from 977cf75 lib: Fix integer overflowed argument issue with strtoul()
https://git.samba.org/?p=samba.git;a=shortlog;h=master - Log ----------------------------------------------------------------- commit 3a2a9d8d3f054d6b31689388c09153f36be57e07 Author: Ralph Wuerthner <ralph.wuerth...@de.ibm.com> Date: Tue Aug 1 16:40:30 2017 +0200 idmap: remove unused function idmap_is_online() Signed-off-by: Ralph Wuerthner <ralph.wuerth...@de.ibm.com> Reviewed-by: Christof Schmitt <c...@samba.org> Reviewed-by: Volker Lendecke <v...@samba.org> Autobuild-User(master): Volker Lendecke <v...@samba.org> Autobuild-Date(master): Fri Aug 4 14:08:37 CEST 2017 on sn-devel-144 ----------------------------------------------------------------------- Summary of changes: source3/torture/test_idmap_tdb_common.c | 5 ----- source3/winbindd/idmap.c | 5 ----- source3/winbindd/idmap_proto.h | 1 - 3 files changed, 11 deletions(-) Changeset truncated at 500 lines: diff --git a/source3/torture/test_idmap_tdb_common.c b/source3/torture/test_idmap_tdb_common.c index 897d217..5ecb978 100644 --- a/source3/torture/test_idmap_tdb_common.c +++ b/source3/torture/test_idmap_tdb_common.c @@ -57,11 +57,6 @@ bool winbindd_use_idmap_cache(void) { return false; } -bool idmap_is_online(void) -{ - return true; -} - static bool open_db(struct idmap_tdb_common_context *ctx) { NTSTATUS status; diff --git a/source3/winbindd/idmap.c b/source3/winbindd/idmap.c index 70f35ae..6e70b44 100644 --- a/source3/winbindd/idmap.c +++ b/source3/winbindd/idmap.c @@ -304,11 +304,6 @@ bool idmap_is_offline(void) get_global_winbindd_state_offline() ); } -bool idmap_is_online(void) -{ - return !idmap_is_offline(); -} - /********************************************************************** Allow a module to register itself as a method. **********************************************************************/ diff --git a/source3/winbindd/idmap_proto.h b/source3/winbindd/idmap_proto.h index 596c22f..f4fc2c2 100644 --- a/source3/winbindd/idmap_proto.h +++ b/source3/winbindd/idmap_proto.h @@ -28,7 +28,6 @@ /* The following definitions come from winbindd/idmap.c */ bool idmap_is_offline(void); -bool idmap_is_online(void); NTSTATUS smb_register_idmap(int version, const char *name, struct idmap_methods *methods); void idmap_close(void); -- Samba Shared Repository