* Continuing conversion to the new command infrastructure.

git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@896 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2007-04-29 18:46:55 +00:00
parent 43fd2c92ec
commit 2ede6f03ab
9 changed files with 130 additions and 47 deletions
+5
View File
@@ -58,8 +58,13 @@ initialize_commands() {
initialize_command_network();
initialize_command_ui();
#ifdef ADDING_COMMANDS
if (commandSlotsItr > commandSlots + COMMAND_SLOTS_SIZE ||
commandVariablesItr > commandVariables + COMMAND_VARIABLES_SIZE)
#else
if (commandSlotsItr != commandSlots + COMMAND_SLOTS_SIZE ||
commandVariablesItr != commandVariables + COMMAND_VARIABLES_SIZE)
#endif
throw torrent::internal_error("initialize_commands() static command array size mismatch.");
}