[pisa-src] r1814 - in trunk/pairing: common.h packet_handler_send.c

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Thu, 26 Nov 2009 15:18:51 +0100

Author: biurrun
Date: Thu Nov 26 15:18:51 2009
New Revision: 1814

Log:
Move FILE_KNOWN_RELAYS definition to common.h.

Modified:
   trunk/pairing/common.h
   trunk/pairing/packet_handler_send.c

Modified: trunk/pairing/common.h
==============================================================================
--- trunk/pairing/common.h      Thu Nov 26 15:16:33 2009        (r1813)
+++ trunk/pairing/common.h      Thu Nov 26 15:18:51 2009        (r1814)
@@ -62,6 +62,8 @@
 /** Default port number is set statically. **/
 #define PORT 7000
 
+#define FILE_KNOWN_RELAYS "known_relays.cfg"
+
 // Debug message macros
 #define CHECK_FOR_NULL_HDR(hdr) \
        if (hdr == NULL) { DEBUG("Header could not be created. Exiting."); 
return 0; }

Modified: trunk/pairing/packet_handler_send.c
==============================================================================
--- trunk/pairing/packet_handler_send.c Thu Nov 26 15:16:33 2009        (r1813)
+++ trunk/pairing/packet_handler_send.c Thu Nov 26 15:18:51 2009        (r1814)
@@ -12,9 +12,6 @@
 
 #include "packet_handler_send.h"
 
-#define FILE_KNOWN_RELAYS "known_relays.cfg"
-
-
 /** Handles an ack_1 packet
  *
  *  @param socket_addr Pointer to sockaddr_in6 structure connected to peer.

Other related posts:

  • » [pisa-src] r1814 - in trunk/pairing: common.h packet_handler_send.c - Diego Biurrun