|
|
@ -1104,7 +1104,7 @@ void LP_reserved_msgs(void *ignore) |
|
|
|
if ( num_Reserved_msgs[1] > 0 ) |
|
|
|
{ |
|
|
|
num_Reserved_msgs[1]--; |
|
|
|
//printf("PRIORITY BROADCAST.(%s)\n",Reserved_msgs[1][num_Reserved_msgs[1]]);
|
|
|
|
printf("PRIORITY BROADCAST.(%s)\n",Reserved_msgs[1][num_Reserved_msgs[1]]); |
|
|
|
LP_broadcast_message(LP_mypubsock,"","",zero,Reserved_msgs[1][num_Reserved_msgs[1]]); |
|
|
|
Reserved_msgs[1][num_Reserved_msgs[1]] = 0; |
|
|
|
} |
|
|
@ -1126,7 +1126,7 @@ void LP_reserved_msgs(void *ignore) |
|
|
|
{ |
|
|
|
portable_mutex_lock(&LP_reservedmutex); |
|
|
|
num_Reserved_msgs[0]--; |
|
|
|
//printf("BROADCAST.(%s)\n",Reserved_msgs[0][num_Reserved_msgs[0]]);
|
|
|
|
printf("BROADCAST.(%s)\n",Reserved_msgs[0][num_Reserved_msgs[0]]); |
|
|
|
LP_broadcast_message(LP_mypubsock,"","",zero,Reserved_msgs[0][num_Reserved_msgs[0]]); |
|
|
|
Reserved_msgs[0][num_Reserved_msgs[0]] = 0; |
|
|
|
portable_mutex_unlock(&LP_reservedmutex); |
|
|
|