diff --git a/xwords4/relay/http.cpp b/xwords4/relay/http.cpp index 6d9a2862e..adf70ec39 100644 --- a/xwords4/relay/http.cpp +++ b/xwords4/relay/http.cpp @@ -65,7 +65,7 @@ send_header( FILE* fil, const char* title ) } static void -send_meta( FILE* fil ) +send_meta( FILE* fil, const CrefMgrInfo* info ) { FILE* css; RelayConfigs* cfg = RelayConfigs::GetConfigs(); @@ -97,6 +97,9 @@ send_meta( FILE* fil ) fclose( css ); } } + + fprintf( fil, "relay: %d/%d\n", info->m_nCrefsAll, + info->m_nCrefsCurrent ); fprintf( fil, "" ); } @@ -250,7 +253,7 @@ http_thread_main( void* arg ) send_header( fil, "status page" ); fprintf( fil, "" ); - send_meta( fil ); + send_meta( fil, info ); fprintf( fil, "
" ); printStats( fil, info, isLocal );