[o2on-svn] [132] FIX : o2onが異常終了時にFriend . xmlの内容がNode . xmlの内容で上書きされる。

Back to archive index

o2on svn commit o2on-****@lists*****
2008年 12月 1日 (月) 01:34:08 JST


Revision: 132
          http://svn.sourceforge.jp/view?root=o2on&view=rev&rev=132
Author:   laxmi
Date:     2008-12-01 01:34:08 +0900 (Mon, 01 Dec 2008)

Log Message:
-----------
FIX : o2onが異常終了時にFriend.xmlの内容がNode.xmlの内容で上書きされる。

Modified Paths:
--------------
    trunk/o2on/src.o2on/O2Server_HTTP_Admin.h

Modified: trunk/o2on/src.o2on/O2Server_HTTP_Admin.h
===================================================================
--- trunk/o2on/src.o2on/O2Server_HTTP_Admin.h	2008-11-29 16:15:37 UTC (rev 131)
+++ trunk/o2on/src.o2on/O2Server_HTTP_Admin.h	2008-11-30 16:34:08 UTC (rev 132)
@@ -1426,7 +1426,7 @@
 						else {
 							NodeDB->SetXMLMessage(L"Šù‚ɒljÁ‚³‚ê‚Ä‚¢‚Ü‚·", L"succeeded");
 						}
-						NodeDB->Save(Profile->GetFriendFilePath());
+						FriendDB->Save(Profile->GetFriendFilePath());
 					}
 				}
 				else if (act == "delete") {
@@ -1438,7 +1438,7 @@
 							FriendDB->Delete(hash);
 						}
 					}
-					NodeDB->Save(Profile->GetFriendFilePath());
+					FriendDB->Save(Profile->GetFriendFilePath());
 				}
 			}
 		}




o2on-svn メーリングリストの案内
Back to archive index