From 204a128ecc552b441b7afaefaf643479355c5831 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Tue, 29 Mar 2016 15:46:47 -0400 Subject: [PATCH] fix use of connected when it should be mem_ptr --- src/zm_monitor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zm_monitor.cpp b/src/zm_monitor.cpp index 83592e9e8..231852ca4 100644 --- a/src/zm_monitor.cpp +++ b/src/zm_monitor.cpp @@ -1132,7 +1132,7 @@ void Monitor::DumpZoneImage( const char *zone_string ) } Image *zone_image = NULL; - if ( ( (!staticConfig.SERVER_ID) || ( staticConfig.SERVER_ID == server_id ) ) && connected ) { + if ( ( (!staticConfig.SERVER_ID) || ( staticConfig.SERVER_ID == server_id ) ) && mem_ptr ) { Debug(3, "Trying to load from local zmc"); int index = shared_data->last_write_index; Snapshot *snap = &image_buffer[index];