Kevin Easton
0ba25f02a5
Simplify and clean up find_dll_command()
...
The only external change here is that it now always sets *cnt to 0 when it returns NULL
Previously, it could set it to -1 in some cases, in particular when dll_commands is NULL.
This led to a bug where /HELP would show the wrong number of matching commands, because it
added the return value of find_dll_command() to the number of matching internal commands.
Also fixes a set-but-unused-variable warning.
2017-11-27 17:18:15 +11:00
..
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2008-02-25 09:25:32 +00:00
2017-10-20 14:57:17 +11:00
2008-02-25 09:25:32 +00:00
2017-06-06 23:47:10 +10:00
2017-07-01 00:47:20 +10:00
2017-10-20 14:57:17 +11:00
2016-03-17 21:39:17 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2017-07-09 00:14:15 +10:00
2017-11-27 17:18:15 +11:00
2017-10-20 14:57:17 +11:00
2014-10-26 13:08:43 +00:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2008-02-25 09:25:32 +00:00
2017-06-28 22:26:08 +10:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2008-02-25 09:49:14 +00:00
2017-01-25 17:12:38 +11:00
2017-06-28 00:03:09 +10:00
2017-11-23 17:22:38 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2017-05-29 15:54:57 +10:00
2008-02-25 09:25:32 +00:00
2017-10-20 14:57:17 +11:00
2017-11-17 16:32:28 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2017-11-17 16:32:28 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2017-11-23 17:22:38 +11:00
2017-05-10 23:41:32 +10:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2008-02-25 09:49:14 +00:00
2008-02-25 09:49:14 +00:00
2017-06-06 23:47:10 +10:00
2017-07-08 21:32:42 +10:00
2017-10-20 14:57:17 +11:00
2017-11-14 23:15:33 +11:00
2017-11-10 16:57:26 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2017-06-26 15:13:40 +10:00
2017-05-30 22:52:42 +10:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2008-02-25 09:25:32 +00:00
2017-07-11 19:01:09 +10:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2017-11-18 00:20:36 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2008-02-25 09:49:14 +00:00
2017-10-20 14:57:17 +11:00
2011-02-02 12:34:13 +00:00
2017-10-25 16:59:18 +11:00
2017-11-17 22:48:03 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2017-10-20 14:57:17 +11:00
2015-10-20 23:12:33 +11:00
2017-10-23 00:32:05 +11:00
2017-11-03 14:48:26 +11:00
2017-11-14 23:15:33 +11:00
2017-02-22 23:03:17 +11:00
2017-10-20 14:57:17 +11:00
2017-11-10 17:16:58 +11:00
2017-11-23 17:22:38 +11:00
2017-11-24 17:29:51 +11:00
2008-02-25 09:25:32 +00:00