[pisa-src] r1871 - in trunk/pairing: common.h send.c

  • From: Diego Biurrun <diego@xxxxxxxxxx>
  • To: pisa-src@xxxxxxxxxxxxx
  • Date: Fri, 27 Nov 2009 14:58:46 +0100

Author: biurrun
Date: Fri Nov 27 14:58:46 2009
New Revision: 1871

Log:
Move FILE_USER_CONFIG definition to the only place it is used.

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

Modified: trunk/pairing/common.h
==============================================================================
--- trunk/pairing/common.h      Fri Nov 27 14:56:42 2009        (r1870)
+++ trunk/pairing/common.h      Fri Nov 27 14:58:46 2009        (r1871)
@@ -45,7 +45,6 @@
 
 #define FILE_KNOWN_RELAYS "known_relays.cfg"
 #define FILE_SERVER_CONFIG "relay_config.cfg"
-#define FILE_USER_CONFIG   "user_config.cfg"
 
 // If you add a new message type, update print_msg_info() in common.c
 #define MSG_PASSWORD    0

Modified: trunk/pairing/send.c
==============================================================================
--- trunk/pairing/send.c        Fri Nov 27 14:56:42 2009        (r1870)
+++ trunk/pairing/send.c        Fri Nov 27 14:58:46 2009        (r1871)
@@ -29,6 +29,7 @@
 #define REQUEST_CONNECT        0
 #define REQUEST_GET_PWD        1
 
+#define FILE_USER_CONFIG  "user_config.cfg"
 #define MAX_RECV_TRIES 10
 
 struct global_send_variables global_send;

Other related posts:

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