diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2009-05-13 18:04:38 +0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2009-05-13 18:04:38 +0300 |
commit | d7d7c1ec46c07b6c543474cab76873af224387d4 (patch) | |
tree | a2a996d39992578537b51f4839f0c39a7f04b882 /audio/headset.c | |
parent | 5a2c498a85c277bcce0fdaadb66129e8a94c25e5 (diff) | |
download | bluez-d7d7c1ec46c07b6c543474cab76873af224387d4.tar.gz |
Fix phone number quoting for CLCC
Diffstat (limited to 'audio/headset.c')
-rw-r--r-- | audio/headset.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/audio/headset.c b/audio/headset.c index 8ab63ec5..d2735a64 100644 --- a/audio/headset.c +++ b/audio/headset.c @@ -2731,9 +2731,8 @@ int telephony_list_current_call_ind(int idx, int dir, int status, int mode, if (number) send_foreach_headset(active_devices, hfp_cmp, - "\r\n+CLCC: %d,%d,%d,%d,%d,%s,%d\r\n", - idx, dir, status, mode, mprty, - number, type); + "\r\n+CLCC: %d,%d,%d,%d,%d,\"%s\",%d\r\n", + idx, dir, status, mode, mprty, number, type); else send_foreach_headset(active_devices, hfp_cmp, "\r\n+CLCC: %d,%d,%d,%d,%d\r\n", |