diff --git a/src/zm_user.cpp b/src/zm_user.cpp index afdc444d4..8dbebaaa3 100644 --- a/src/zm_user.cpp +++ b/src/zm_user.cpp @@ -23,6 +23,9 @@ #include "zm_user.h" #include +#include +#include +#include User::User() { @@ -63,14 +66,10 @@ User::User( MYSQL_ROW &dbrow ) { monitor_ids[n_monitor_ids++] = id; if ( !*ptr ) - { break; - } } while ( !isdigit( *ptr ) ) - { ptr++; - } } while( *ptr ); monitor_ids[n_monitor_ids] = 0; }