author | Michael Krelin <hacker@klever.net> | 2007-01-03 01:03:54 (UTC) |
---|---|---|
committer | Michael Krelin <hacker@klever.net> | 2007-01-03 01:03:54 (UTC) |
commit | ca2207bcf18ed5b0dd1a0e370e9973d717ff87c9 (patch) (unidiff) | |
tree | 48f451afe046afff90a32b55567a40d7cf26156b | |
parent | f114b9ea0a5cb03d0e9d411090026774d6df44bf (diff) | |
download | sitecing-ca2207bcf18ed5b0dd1a0e370e9973d717ff87c9.zip sitecing-ca2207bcf18ed5b0dd1a0e370e9973d717ff87c9.tar.gz sitecing-ca2207bcf18ed5b0dd1a0e370e9973d717ff87c9.tar.bz2 |
fix for request serial
-rw-r--r-- | include/sitecing/sitecing_interface.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sitecing/sitecing_interface.h b/include/sitecing/sitecing_interface.h index f0210d6..a0e1b8a 100644 --- a/include/sitecing/sitecing_interface.h +++ b/include/sitecing/sitecing_interface.h | |||
@@ -17,28 +17,28 @@ namespace sitecing { | |||
17 | * The basic class used to convey communications between the component and | 17 | * The basic class used to convey communications between the component and |
18 | * the sitecing core. | 18 | * the sitecing core. |
19 | */ | 19 | */ |
20 | class sitecing_interface { | 20 | class sitecing_interface { |
21 | public: | 21 | public: |
22 | /** | 22 | /** |
23 | * Pointer to the output stream. | 23 | * Pointer to the output stream. |
24 | */ | 24 | */ |
25 | ostream *out; | 25 | ostream *out; |
26 | /** | 26 | /** |
27 | * Serial number of request being processed. | 27 | * Serial number of request being processed. |
28 | */ | 28 | */ |
29 | long serial; | 29 | unsigned long serial; |
30 | 30 | ||
31 | /** | 31 | /** |
32 | * The default constructor doesn't do much. | 32 | * The default constructor doesn't do much. |
33 | */ | 33 | */ |
34 | sitecing_interface() : out(0), serial(0) {} | 34 | sitecing_interface() : out(0), serial(0) {} |
35 | /** | 35 | /** |
36 | * The constructor initializes the output stream pointer. | 36 | * The constructor initializes the output stream pointer. |
37 | * @param o the value to initialize the output stream pointer with. | 37 | * @param o the value to initialize the output stream pointer with. |
38 | */ | 38 | */ |
39 | sitecing_interface(ostream* o) : out(o) {} | 39 | sitecing_interface(ostream* o) : out(o), serial(0) {} |
40 | }; | 40 | }; |
41 | 41 | ||
42 | } | 42 | } |
43 | 43 | ||
44 | #endif /* __SITECING_SITECING_INTERFACE_H */ | 44 | #endif /* __SITECING_SITECING_INTERFACE_H */ |