Skip to content

Commit

Permalink
improve whitespace around commas
Browse files Browse the repository at this point in the history
  • Loading branch information
umlaeute committed Mar 14, 2024
1 parent c156e75 commit 80122d8
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions iemnet.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ void iemnet__addrout(t_outlet*status_outlet, t_outlet*address_outlet,
addr[4].a_w.w_float = port;

if(status_outlet ) {
outlet_anything(status_outlet , gensym("address"), 5, addr);
outlet_anything(status_outlet, gensym("address"), 5, addr);
}
if(address_outlet) {
outlet_list(address_outlet, gensym("list" ), 5, addr);
Expand All @@ -140,7 +140,7 @@ void iemnet__numconnout(t_outlet*status_outlet, t_outlet*numcon_outlet,
SETFLOAT(atom, numconnections);

if(status_outlet) {
outlet_anything(status_outlet , gensym("connections"), 1, atom);
outlet_anything(status_outlet, gensym("connections"), 1, atom);
}
if(numcon_outlet) {
outlet_float(numcon_outlet, numconnections);
Expand All @@ -154,7 +154,7 @@ void iemnet__socketout(t_outlet*status_outlet, t_outlet*socket_outlet,
SETFLOAT(atom, socketfd);

if(status_outlet) {
outlet_anything(status_outlet , gensym("socket"), 1, atom);
outlet_anything(status_outlet, gensym("socket"), 1, atom);
}
if(socket_outlet) {
outlet_float(socket_outlet, socketfd);
Expand Down
4 changes: 2 additions & 2 deletions iemnet_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -520,10 +520,10 @@ t_iemnet_queue* queue_create(void)
q->tail = NULL;

memcpy(&q->cond, &cond, sizeof(pthread_cond_t));
memcpy(&q->mtx , &mtx, sizeof(pthread_mutex_t));
memcpy(&q->mtx, &mtx, sizeof(pthread_mutex_t));

memcpy(&q->usedcond, &cond, sizeof(pthread_cond_t));
memcpy(&q->usedmtx , &mtx, sizeof(pthread_mutex_t));
memcpy(&q->usedmtx, &mtx, sizeof(pthread_mutex_t));

q->done = 0;
q->size = 0;
Expand Down
2 changes: 1 addition & 1 deletion iemnet_sender.c
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ t_iemnet_sender*iemnet__sender_create(int sock,
result->userdata = userdata;
DEBUG("create_sender queue = %x", result->queue);

memcpy(&result->mtx , &mtx, sizeof(pthread_mutex_t));
memcpy(&result->mtx, &mtx, sizeof(pthread_mutex_t));
res = pthread_create(&result->thread, 0, iemnet__sender_sendthread, result);

if(0 == res) {
Expand Down
2 changes: 1 addition & 1 deletion udpserver.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ static void udpserver_sender_autoremove(t_udpserver*x) {
return;
}
x->x_lastchecked = clock_getlogicaltime();
for(id=0; id<x->x_nconnections;id++) {
for(id=0; id<x->x_nconnections; id++) {
if(!x->x_sr[id]) {
continue;
}
Expand Down

0 comments on commit 80122d8

Please sign in to comment.