[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdesupport/qca/tools/qcatool
From:       Justin Karneges <infiniti () affinix ! com>
Date:       2007-04-13 7:08:18
Message-ID: 1176448098.892809.6913.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 653392 by infiniti:

call toString() for exporting, not id()


 M  +3 -3      main.cpp  


--- trunk/kdesupport/qca/tools/qcatool/main.cpp #653391:653392
@@ -1435,8 +1435,8 @@
 		// TODO: users of this function assume objects will also exist
 
 		// exported id
-		QString id = read_ksentry_file(name);
-		entry = QCA::KeyStoreEntry(id);
+		QString serialized = read_ksentry_file(name);
+		entry = QCA::KeyStoreEntry(serialized);
 		if(entry.isNull())
 		{
 			if(!nopassiveerror)
@@ -2379,7 +2379,7 @@
 			QCA::KeyStoreEntry entry = get_E(args[2]);
 			if(entry.isNull())
 				return 1;
-			printf("%s", make_ksentry_string(entry.id()).toUtf8().data());
+			printf("%s", make_ksentry_string(entry.toString()).toUtf8().data());
 		}
 		else if(args[1] == "addkb")
 		{
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic