Skip to contentSkip to conversation

voicecall: fix CHLD support reply

PATCH In review Frédéric Dalleau 2 participants 2 messages May 17, 2011

lore
Share & tools
lore
#1 lore raw
In reply to Frédéric Dalleau

Hi Frédéric,

Quoted 6 lines · Frédéric Dalleau

---
+CHLD=(...) syntax is incorrect. Instead, use +CHLD: (...).

 src/voicecall.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch has been applied, thanks.

Regards,
-Denis

#0 lore raw

PATCH 1/1 voicecall: fix CHLD support reply

---
+CHLD=(...) syntax is incorrect. Instead, use +CHLD: (...).

 src/voicecall.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
src/voicecall.c +2 -2
index d46f463..2ab67ac 100644
@@ -2838,8 +2838,8 @@ static void emulator_chld_cb(struct ofono_emulator *em,
 		goto fail;
 
 	case OFONO_EMULATOR_REQUEST_TYPE_SUPPORT:
-		memcpy(buf, "+CHLD=(", 7);
-		info = buf + 7;
+		memcpy(buf, "+CHLD: (", 8);
+		info = buf + 8;
 
 		ADD_CHLD_SUPPORT(vc->driver->release_all_held &&
 					vc->driver->set_udub, "0")
Signature · 1 line
1.7.1