HCoop
/
ntk
/
apt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d6c4a97
)
fix argument check for the rred method
author
David Kalnischkies
<kalnischkies@gmail.com>
Thu, 19 Nov 2009 22:55:33 +0000
(23:55 +0100)
committer
David Kalnischkies
<kalnischkies@gmail.com>
Thu, 19 Nov 2009 22:55:33 +0000
(23:55 +0100)
methods/rred.cc
patch
|
blob
|
blame
|
history
diff --git
a/methods/rred.cc
b/methods/rred.cc
index
7236efd
..
c2d8eb5
100644
(file)
--- a/
methods/rred.cc
+++ b/
methods/rred.cc
@@
-530,7
+530,7
@@
public:
* and will write the result to "Testfile.result".
*/
int main(int argc, char *argv[]) {
- if (argc
== 0
) {
+ if (argc
<= 1
) {
RredMethod Mth;
return Mth.Run();
} else {