Do I have to free retstring after calling an external ?
Is there something wrong in this code. Memory grow up slowly ...
XRev_codphone(char* args[],int nargs,char ** retstring,bool
*Pass,bool *Error){
*pass=False ; *Error=False ; *retstring=(char *)malloc (100);
if (nargs==1){
sprintf (*retstring,"%s %s",codePhone(args[0]),phoneComment);
} else strcpy(*retstring,"Rev_codePhone : Erreur nombre
d'argument incorrect");
}
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution