Revision 74a5d4ae loop.c

View differences:

loop.c
13 13
#include <stdbool.h>
14 14

  
15 15
#include <net_helper.h>
16

  
17 16
#include <msg_types.h>
18 17
#include <peerset.h>
19 18
#include <peer.h>
20 19

  
21 20
#include "chunk_signaling.h"
22
#include "topology.h"
23 21
#include "streaming.h"
22
#include "topology.h"
24 23
#include "loop.h"
25 24
#include "dbg.h"
26 25

  
......
67 66
    tout_init(&tv);
68 67
    res = wait4data(s, &tv, NULL);
69 68
    if (res > 0) {
70
      const struct nodeID *remote;
69
      struct nodeID *remote;
71 70

  
72 71
      len = recv_from_peer(s, &remote, buff, BUFFSIZE);
73 72
      if (len < 0) {
......
136 135
    res = wait4data(s, &tv, NULL);
137 136
#endif
138 137
    if (res > 0) {
139
      const struct nodeID *remote;
138
      struct nodeID *remote;
140 139

  
141 140
      len = recv_from_peer(s, &remote, buff, BUFFSIZE);
142 141
      if (len < 0) {

Also available in: Unified diff