Revision 1d21cb23 streamer.c

View differences:

streamer.c
25 25
#include "channel.h"
26 26
#include "topology.h"
27 27
#include "measures.h"
28
#include "streamer.h"
29

  
30
static struct nodeID *my_sock;
28 31

  
29 32
const char *peername = NULL;
30 33

  
......
202 205
  }
203 206
}
204 207

  
208
const struct nodeID *get_my_addr(void)
209
{
210
  return my_sock;
211
}
212

  
205 213
static void init_rand(const char * s)
206 214
{
207 215
  long i, l, x;
......
271 279

  
272 280
int main(int argc, char *argv[])
273 281
{
274
  struct nodeID *my_sock;
275 282

  
276 283
  (void) signal(SIGTERM,leave);
277 284

  

Also available in: Unified diff