Codebase list libnice / edcbc59
conncheck: Remove useless return value on conn_check_prune_stream Olivier CrĂȘte 10 years ago
2 changed file(s) with 2 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
14421442 *
14431443 * @return TRUE on success, FALSE on a fatal error
14441444 */
1445 gboolean conn_check_prune_stream (NiceAgent *agent, Stream *stream)
1445 void conn_check_prune_stream (NiceAgent *agent, Stream *stream)
14461446 {
14471447 CandidateCheckPair *pair;
14481448 GSList *i;
14631463
14641464 if (!stream->conncheck_list)
14651465 conn_check_free (agent);
1466
1467 /* return FALSE if there was a memory allocation failure */
1468 if (stream->conncheck_list == NULL && i != NULL)
1469 return FALSE;
1470
1471 return TRUE;
14721466 }
14731467
14741468 /*
8686 void conn_check_free (NiceAgent *agent);
8787 gboolean conn_check_schedule_next (NiceAgent *agent);
8888 int conn_check_send (NiceAgent *agent, CandidateCheckPair *pair);
89 gboolean conn_check_prune_stream (NiceAgent *agent, Stream *stream);
89 void conn_check_prune_stream (NiceAgent *agent, Stream *stream);
9090 gboolean conn_check_handle_inbound_stun (NiceAgent *agent, Stream *stream, Component *component, NiceSocket *udp_socket, const NiceAddress *from, gchar *buf, guint len);
9191 gint conn_check_compare (const CandidateCheckPair *a, const CandidateCheckPair *b);
9292 void conn_check_remote_candidates_set(NiceAgent *agent);