summaryrefslogtreecommitdiff
path: root/net/libktorrent/patches/patch-examples_ktcli_main.cpp
blob: c7ce4630d3a8223fc7df7024d77fa51c7244cf24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-examples_ktcli_main.cpp,v 1.1 2012/11/16 01:05:33 joerg Exp $

--- examples/ktcli/main.cpp.orig	2012-11-15 12:19:45.000000000 +0000
+++ examples/ktcli/main.cpp
@@ -66,11 +66,11 @@ int main(int argc, char** argv)
 		KCmdLineArgs::addCmdLineOptions(options);
 		KCmdLineArgs::init(argc,argv,"ktcli","ktorrent",ki18n("ktcli"),bt::GetVersionString().toAscii());
 		
-		KTCLI app;
-		if (!app.start())
+		KTCLI app2;
+		if (!app2.start())
 			return -1;
 		else
-			return app.exec();
+			return app2.exec();
 	}
 	catch (bt::Error & err)
 	{