projects
/
umurmur.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added stubs
[umurmur.git]
/
src
/
voicetarget.c
diff --git
a/src/voicetarget.c
b/src/voicetarget.c
index e69e68cd90eec1fa07f2306fb55d915db9cf6cde..e2ed569c8f2db196c6d129404503a93355848e7d 100644
(file)
--- a/
src/voicetarget.c
+++ b/
src/voicetarget.c
@@
-38,7
+38,7
@@
void Voicetarget_add_session(client_t *client, int targetId, int sessionId)
{
struct dlist *itr;
voicetarget_t *vt;
{
struct dlist *itr;
voicetarget_t *vt;
-
+
list_iterate(itr, &client->voicetargets) {
if (targetId == list_get_entry(itr, voicetarget_t, node)->id) {
int i;
list_iterate(itr, &client->voicetargets) {
if (targetId == list_get_entry(itr, voicetarget_t, node)->id) {
int i;
@@
-59,7
+59,7
@@
void Voicetarget_add_channel(client_t *client, int targetId, int channelId,
{
struct dlist *itr;
voicetarget_t *vt;
{
struct dlist *itr;
voicetarget_t *vt;
-
+
list_iterate(itr, &client->voicetargets) {
if (targetId == list_get_entry(itr, voicetarget_t, node)->id) {
int i;
list_iterate(itr, &client->voicetargets) {
if (targetId == list_get_entry(itr, voicetarget_t, node)->id) {
int i;
@@
-74,14
+74,14
@@
void Voicetarget_add_channel(client_t *client, int targetId, int channelId,
}
}
}
}
}
}
- }
+ }
}
void Voicetarget_add_id(client_t *client, int targetId)
{
voicetarget_t *newtarget;
int i;
}
void Voicetarget_add_id(client_t *client, int targetId)
{
voicetarget_t *newtarget;
int i;
-
+
Voicetarget_del_id(client, targetId);
newtarget = malloc(sizeof(voicetarget_t));
if (!newtarget)
Voicetarget_del_id(client, targetId);
newtarget = malloc(sizeof(voicetarget_t));
if (!newtarget)