diff --git a/include/mcom-proto.h b/include/mcom-proto.h index 44b2158..ecfd502 100644 --- a/include/mcom-proto.h +++ b/include/mcom-proto.h @@ -60,6 +60,7 @@ int MXMLGetChildCI(mxml_t *,char *,int *,mxml_t **); int MXMLFromString(mxml_t **,char *,char **,char *); int MXMLDupE(mxml_t *,mxml_t **); mbool_t MXMLStringIsValid(char *); +int MXMLToXString(mxml_t *,char **,int *,int,char **,mbool_t); diff --git a/src/server/mclient.c b/src/server/mclient.c index fcbbd64..87247e8 100644 --- a/src/server/mclient.c +++ b/src/server/mclient.c @@ -2534,11 +2534,11 @@ int MCShowCStats( mgcred_t *tmpUP[MAX_MUSER]; - mgcred_t *tmpU; - mgcred_t *tmpG; - mgcred_t *tmpA; - mqos_t *tmpQ; - mclass_t *tmpC; + mgcred_t *tmpU = NULL; + mgcred_t *tmpG = NULL; + mgcred_t *tmpA = NULL; + mqos_t *tmpQ = NULL; + mclass_t *tmpC = NULL; char *NameP; diff --git a/src/server/omclient.c b/src/server/omclient.c index eeaff74..5948812 100644 --- a/src/server/omclient.c +++ b/src/server/omclient.c @@ -3282,7 +3282,7 @@ int MCShowBlocked( char *ptr; char name[MAX_MNAME]; char Reason[MAX_MBUFFER]; - char TotalProcs[MAX_MNAME]; + int TotalProcs; char UserName[MAX_MNAME];