[pisa-src] r1810 - in trunk/pairing: packet_handler_accept.c packet_handler_accept.h

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

Author: biurrun
Date: Thu Nov 26 15:14:12 2009
New Revision: 1810

Log:
Move definition of FILE_PWD to the only place where it is used.

Modified:
   trunk/pairing/packet_handler_accept.c
   trunk/pairing/packet_handler_accept.h

Modified: trunk/pairing/packet_handler_accept.c
==============================================================================
--- trunk/pairing/packet_handler_accept.c       Thu Nov 26 15:13:32 2009        
(r1809)
+++ trunk/pairing/packet_handler_accept.c       Thu Nov 26 15:14:12 2009        
(r1810)
@@ -16,6 +16,8 @@
 #include "libpisa/hitlist.h"
 #include "packet_handler_accept.h"
 
+/** Default password file is set statically. **/
+#define FILE_PWD "sha.txt"
 
 /** Creates a header_general structure which holds a header_ack_1 structure 
and fills both.
  *

Modified: trunk/pairing/packet_handler_accept.h
==============================================================================
--- trunk/pairing/packet_handler_accept.h       Thu Nov 26 15:13:32 2009        
(r1809)
+++ trunk/pairing/packet_handler_accept.h       Thu Nov 26 15:14:12 2009        
(r1810)
@@ -19,9 +19,6 @@
 #include "hash.h"
 #include "libconfig_wrapper.h"
 
-/** Default password file is set statically. **/
-#define FILE_PWD "sha.txt"
-
 // Function prototypes
 int handle_packet_password(struct sockaddr_in6 *socket_addr, header_password 
*hdr_pwd);
 int handle_packet_pwd_request(struct sockaddr_in6 *socket_addr, 
header_pwd_request *hdr_pwd_request);

Other related posts:

  • » [pisa-src] r1810 - in trunk/pairing: packet_handler_accept.c packet_handler_accept.h - Diego Biurrun