diff options
author | Christian Grothoff <christian@grothoff.org> | 2012-05-14 23:44:22 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2012-05-14 23:44:22 +0000 |
commit | 720afac61536fbb212c0010f31764704c12aab0f (patch) | |
tree | 323e2147f8c13f27c5699e237d08649a2f6242d3 /src/chat | |
parent | b633941315e126aed01437fb56bcc8dfb64908b1 (diff) | |
download | gnunet-720afac61536fbb212c0010f31764704c12aab0f.tar.gz gnunet-720afac61536fbb212c0010f31764704c12aab0f.zip |
-fixing misc seaspider parser errors
Diffstat (limited to 'src/chat')
-rw-r--r-- | src/chat/gnunet-chat.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/chat/gnunet-chat.c b/src/chat/gnunet-chat.c index fb958d98a..7b11c0d18 100644 --- a/src/chat/gnunet-chat.c +++ b/src/chat/gnunet-chat.c | |||
@@ -44,13 +44,14 @@ static struct GNUNET_CONTAINER_MetaData *meta; | |||
44 | 44 | ||
45 | static struct GNUNET_CHAT_Room *room; | 45 | static struct GNUNET_CHAT_Room *room; |
46 | 46 | ||
47 | static GNUNET_SCHEDULER_TaskIdentifier handle_cmd_task = | 47 | static GNUNET_SCHEDULER_TaskIdentifier handle_cmd_task; |
48 | GNUNET_SCHEDULER_NO_TASK; | 48 | |
49 | typedef int (*ActionFunction)(const char *argumetns, const void *xtra); | ||
49 | 50 | ||
50 | struct ChatCommand | 51 | struct ChatCommand |
51 | { | 52 | { |
52 | const char *command; | 53 | const char *command; |
53 | int (*Action) (const char *arguments, const void *xtra); | 54 | ActionFunction Action; |
54 | const char *helptext; | 55 | const char *helptext; |
55 | }; | 56 | }; |
56 | 57 | ||
@@ -234,7 +235,8 @@ member_list_cb (void *cls, const struct GNUNET_CONTAINER_MetaData *member_info, | |||
234 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *member_id, | 235 | const struct GNUNET_CRYPTO_RsaPublicKeyBinaryEncoded *member_id, |
235 | enum GNUNET_CHAT_MsgOptions options) | 236 | enum GNUNET_CHAT_MsgOptions options) |
236 | { | 237 | { |
237 | char *nick, *non_unique_nick; | 238 | char *nick; |
239 | char *non_unique_nick; | ||
238 | int nick_is_a_dup; | 240 | int nick_is_a_dup; |
239 | GNUNET_HashCode id; | 241 | GNUNET_HashCode id; |
240 | struct UserList *pos; | 242 | struct UserList *pos; |