Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
return (responseJ);
}
-const char *GetMidleName(const char*name) {
+const char *GetMiddleName(const char*name) {
char *fullname = strdup(name);
for (int idx = 0; fullname[idx] != '\0'; idx++) {
static char psName[17];
// retrieve binder name from process name afb-name-trailer
prctl(PR_GET_NAME, psName,NULL,NULL,NULL);
- binderName=(char*)GetMidleName(psName);
+ binderName=(char*)GetMiddleName(psName);
}
return binderName;
*
* @return const char*
*/
-const char *GetMidleName(const char *name);
+const char *GetMiddleName(const char *name);
/**
* @brief Get the Binder Name without the prefix set by the AGL appfw 'afbd-'