From 3ce790591f50bf8ebbbd5156f1be48c8e17d5eca Mon Sep 17 00:00:00 2001 From: me_laptop Date: Mon, 20 Aug 2012 11:04:12 +0000 Subject: seed nodes in pica-client's nodelist database git-svn-id: svn://localhost/project_picapica/trunk@179 fb96df88-216d-11de-830c-f3023f12d8ac --- pica-client/main.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pica-client/main.cpp') diff --git a/pica-client/main.cpp b/pica-client/main.cpp index f6709cf..d9e0072 100644 --- a/pica-client/main.cpp +++ b/pica-client/main.cpp @@ -108,6 +108,9 @@ static bool create_config_dir() constraint pk primary key (address,port) on conflict replace \ );"); + query.exec("insert into nodes values(\"picapica.im\", 2299, 0, 0);"); + query.exec("insert into nodes values(\"picapica.ge\", 2299, 0, 0);"); + if (query.lastError().isValid()) showerror: -- cgit v1.2.1