Thread (3 messages) read the whole thread 3 messages, 2 authors, 2013-11-19
STALE4636d

[PATCH 1/2] android/a2sp: trivial: Use NULL for zero pointer

From: Andrei Emeltchenko <hidden>
Date: 2013-11-19 09:27:43
Subsystem: the rest · Maintainer: Linus Torvalds

From: Andrei Emeltchenko <redacted>

---
 android/a2dp.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/android/a2dp.c b/android/a2dp.c
index b0cb9b5..7f16be8 100644
--- a/android/a2dp.c
+++ b/android/a2dp.c
@@ -310,7 +310,7 @@ static sdp_record_t *a2dp_record(void)
 	features = sdp_data_alloc(SDP_UINT16, &feat);
 	sdp_attr_add(record, SDP_ATTR_SUPPORTED_FEATURES, features);
 
-	sdp_set_info_attr(record, "Audio Source", 0, 0);
+	sdp_set_info_attr(record, "Audio Source", NULL, NULL);
 
 	free(psm);
 	free(version);
-- 
1.7.10.4
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help