X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fdiameter%2Fstack%2FCommand.hpp;h=f09981ff3ec5394f88193ac001ea88d9bb94c765;hb=5256cb543a9d35b610df19bd227cde977186aef0;hp=9792e8bad07ece4b87f8a7902dd711f4df14fa26;hpb=3e258840b15577cb8bda3cdedd0b9b88e16404b3;p=anna.git diff --git a/include/anna/diameter/stack/Command.hpp b/include/anna/diameter/stack/Command.hpp index 9792e8b..f09981f 100644 --- a/include/anna/diameter/stack/Command.hpp +++ b/include/anna/diameter/stack/Command.hpp @@ -2,7 +2,7 @@ // // (c) Copyright 2005-2014 Eduardo Ramos Testillano & Francisco Ruiz Rayo // -// https://bitbucket.org/testillano/anna +// http://redmine.teslayout.com/projects/anna-suite // // Redistribution and use in source and binary forms, with or without // modification, are permitted provided that the following conditions @@ -14,7 +14,7 @@ // copyright notice, this list of conditions and the following disclaimer // in the documentation and/or other materials provided with the // distribution. -// * Neither the name of Google Inc. nor the names of its +// * Neither the name of the copyright holder nor the names of its // contributors may be used to endorse or promote products derived from // this software without specific prior written permission. // @@ -136,7 +136,6 @@ public: // set void initialize(const Dictionary *d = NULL) throw() { _initialize(d); } void setCode(const U24 & c) throw(anna::RuntimeException) { - if(c < 0) throw anna::RuntimeException("Negative command-code not allowed", ANNA_FILE_LOCATION); a_id.first = c; }