rem: if (strcmp(VERSION,*m_ver)==0) return 1;
add: if (!m_flags || !(*m_flags)) { LOG(L_ERR, "ERROR: no compile flags in module <%s>\n", path ); return 0; }  if (strcmp(SER_FULL_VERSION, *m_ver)==0){ if (strcmp(SER_COMPILE_FLAGS, *m_flags)==0) return 1; else { LOG(L_ERR, "ERROR: module compile flags mismatch for %s " " \ncore: %s \nmodule: %s\n", path, SER_COMPILE_FLAGS, *m_flags); return 0; } }
context: static inline int version_control(void *handle, char *path){	char **m_ver;	char* error;	m_ver=(char **)dlsym(handle, DLSYM_PREFIX "module_version");	if ((error=(char *)dlerror())!=0) {		LOG(L_ERR, "ERROR: no version info in module <%s>: %s\n",			path, error );		return 0;	}	if (!m_ver || !(*m_ver)) {		LOG(L_ERR, "ERROR: no version in module <%s>\n", path );		return 0;	}	if (strcmp(VERSION,*m_ver)==0)		return 1;	LOG(L_ERR, "ERROR: module version mismatch for %s; "		"core: %s; module: %s\n", path, VERSION, *m_ver );	return 0;}