Skip to content

Commit

Permalink
keep track of the raw code
Browse files Browse the repository at this point in the history
git-svn-id: file:///home/svn/nwr/trunk@43 103c2249-d0a5-da11-ade6-0050bffea3d9
  • Loading branch information
greg committed Mar 22, 2003
1 parent c1265aa commit 7cea74c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions eas_decode.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ bool eas::Decode(const char *s, Message &message)
tt->tm_hour = atoi(matches[7]);
tt->tm_min = atoi(matches[8]);
tt->tm_sec = 0;
message.raw = s;
message.originator = matches[1];
message.originator_desc = getOriginatorDesc(message.originator);
message.event = matches[2];
Expand Down
1 change: 1 addition & 0 deletions eas_decode.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
namespace eas {

struct Message {
std::string raw;
std::string originator;
std::string originator_desc;
std::string event;
Expand Down

0 comments on commit 7cea74c

Please sign in to comment.