summaryrefslogtreecommitdiff
path: root/net/xorp/files/patch-rtrmgr__cli.cc
blob: 60f30869888c469d84a363794ac17ae4fff9ceb5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- ./rtrmgr/cli.cc.orig	2011-03-16 21:16:13.000000000 +0000
+++ ./rtrmgr/cli.cc	2014-02-26 21:17:13.000000000 +0000
@@ -741,7 +741,7 @@
     path = token_vector2line(command_global_name);
     XLOG_ASSERT(path.substr(0, 4) == "help");
     if (path.size() == 4) {
-	trimmed_path == "";
+	trimmed_path = "";
     } else {
 	XLOG_ASSERT(path.substr(0, 5) == "help ");
 	trimmed_path = path.substr(5, path.size() - 5);
@@ -1062,7 +1062,7 @@
     path = token_vector2line(command_global_name);
     XLOG_ASSERT(path.substr(0, 4) == "help");
     if (path.size() == 4) {
-	trimmed_path == "";
+	trimmed_path = "";
     } else {
 	XLOG_ASSERT(path.substr(0, 5) == "help ");
 	trimmed_path = path.substr(5, path.size() - 5);