]> rtime.felk.cvut.cz Git - frescor/forb.git/commitdiff
Added cleanup and comments
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 9 Sep 2008 05:38:35 +0000 (07:38 +0200)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 9 Sep 2008 05:38:35 +0000 (07:38 +0200)
forb-idl.idl
proto.c

index b46fbde9a8381e6337e520d82ab394f9afe23467..3f39f9ef859f5b6073c9da72b23b697b154098e8 100644 (file)
@@ -39,7 +39,7 @@ module forb {
                };
 
                typedef short reply_flags;
-               const reply_flags FLAG_EX = 1;
+               const reply_flags FLAG_EXCEPTION = 1;
                struct reply_header {
                        unsigned long request_id;
                        unsigned short flags;
diff --git a/proto.c b/proto.c
index 4acd9adfa092648fefd7f51849fb47c42549d783..b3b0592706e0eef760c0655c45ec45c2feee2044 100644 (file)
--- a/proto.c
+++ b/proto.c
@@ -37,8 +37,8 @@ process_reply(forb_port_t *port, CDR_Codec *codec)
  * the new peer is added to the table and another hello message is
  * sent so that the new peer discovers us quickly.
  * 
- * @param port 
- * @param codec 
+ * @param port Port, where hello was received
+ * @param codec Buffer with the hello message
  */
 static void
 process_hello(forb_port_t *port, CDR_Codec *codec)