phonemgr r278 - in trunk: . libgsm



Author: hadess
Date: Sat Mar  8 16:11:07 2008
New Revision: 278
URL: http://svn.gnome.org/viewvc/phonemgr?rev=278&view=rev

Log:
2008-03-08  Bastien Nocera  <hadess hadess net>

	* libgsm/phonemgr-utils.c (find_service_channel):
	Don't use the public browse group to look for the Serial/DUN
	channel (Closes: #511220)



Modified:
   trunk/ChangeLog
   trunk/libgsm/phonemgr-utils.c

Modified: trunk/libgsm/phonemgr-utils.c
==============================================================================
--- trunk/libgsm/phonemgr-utils.c	(original)
+++ trunk/libgsm/phonemgr-utils.c	Sat Mar  8 16:11:07 2008
@@ -181,17 +181,17 @@
 	if (!sdp)
 		goto end;
 
-	sdp_uuid16_create(&browse_uuid, PUBLIC_BROWSE_GROUP);
 	sdp_uuid16_create(&service_id, svclass_id);
-	search = sdp_list_append (NULL, &browse_uuid);
-	search = sdp_list_append (search, &service_id);
+	attrs = sdp_list_append(0, &range);
+	search = sdp_list_append(0, &service_id);
 
-	attrs = sdp_list_append (NULL, &range);
+	g_message ("starting search");
 
 	if (sdp_service_search_attr_req (sdp, search,
 					 SDP_ATTR_REQ_RANGE, attrs,
-					 &recs))
+					 &recs)) {
 		goto end;
+	}
 
 	for (tmp = recs; tmp != NULL; tmp = tmp->next) {
 		sdp_record_t *rec = tmp->data;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]