From: Andy G. <ag...@us...> - 2002-11-20 02:14:07
|
Update of /cvsroot/acpi/ospmd/ospmd/ospmd In directory sc8-pr-cvs1:/tmp/cvs-serv20736/ospmd/ospmd Modified Files: ospmd.cpp Log Message: save config to file on daemon exit change debug print Index: ospmd.cpp =================================================================== RCS file: /cvsroot/acpi/ospmd/ospmd/ospmd/ospmd.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- ospmd.cpp 8 Oct 2002 22:05:26 -0000 1.2 +++ ospmd.cpp 20 Nov 2002 02:14:03 -0000 1.3 @@ -174,6 +174,7 @@ exited = 1; unlink(OSPMD_SERVER_PATH); + pm_pol->save_to_file("ospmd.conf"); delete(pm_pol); delete(pm_iface); @@ -523,8 +524,7 @@ continue; } - OSPMD_DBG(OSPM_INFO, "client fd %d addr = %s\n", client_sockfd, - client_address.sun_path); + OSPMD_DBG(OSPM_INFO, "client fd %d\n", client_sockfd); /* Handle initial client request */ ospmd_handle_client_request(client_sockfd); |