Skip to content

Commit

Permalink
Fix "undefined" in Forward Destinations over Time graph
Browse files Browse the repository at this point in the history
  • Loading branch information
DL6ER committed Mar 23, 2017
1 parent de41afe commit f3bcf9f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions request.c
Original file line number Diff line number Diff line change
Expand Up @@ -237,11 +237,8 @@ void process_request(char *client_message, int *sock)
for(i=0; i < counters.forwarded; i++)
{
// Get sorted indices
if(forwarded[i].count > 0)
{
sprintf(server_message,"%i %i %s %s\n",i,forwarded[i].count,forwarded[i].ip,forwarded[i].name);
swrite(server_message, *sock);
}
sprintf(server_message,"%i %i %s %s\n",i,forwarded[i].count,forwarded[i].ip,forwarded[i].name);
swrite(server_message, *sock);
}
if(debugclients)
logg_int("Sent forward destination names to client, ID: ", *sock);
Expand Down

0 comments on commit f3bcf9f

Please sign in to comment.