diff options
author | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-10-01 20:14:33 +0000 |
---|---|---|
committer | geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b <geniusdex geniusdex@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864> | 2006-10-01 20:14:33 +0000 |
commit | aa52d94df4726f1f039e9ee3f20be665f65014a4 (patch) | |
tree | fb816d7bd211222bc0923b50faaa5c7767aee2e6 /src/misc.c | |
parent | f11e06eca8712a1dd7d308713baee2e4dd6d6997 (diff) |
BUILD : 1.7.15 (1163) BUGS : NOTES : Various small changes to documentation and example config (and removing void \r from sources)
git-svn-id: svn://svn.anope.org/anope/trunk@1163 31f1291d-b8d6-0310-a050-a5561fc1590b
git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@885 5417fbe8-f217-4b02-8779-1006273d7864
Diffstat (limited to 'src/misc.c')
-rw-r--r-- | src/misc.c | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/misc.c b/src/misc.c index 68db04148..cf684870c 100644 --- a/src/misc.c +++ b/src/misc.c @@ -751,26 +751,26 @@ char *myStrSubString(const char *src, int start, int end) /*************************************************************************/ -void protocol_debug(char *source, char *cmd, int argc, char **argv)
-{
- int i;
-
- if (protocoldebug) {
- if (source)
- alog("debug: Source %s", source);
- if (cmd)
- alog("debug: Token %s", cmd);
- if (argc) {
- for (i = 0; i < argc; i++) {
- alog("debug: av[%d] = %s", i, argv[i]);
- }
- } else {
- alog("debug: av[0] = NULL");
- }
- }
- return;
-}
-
+void protocol_debug(char *source, char *cmd, int argc, char **argv) +{ + int i; + + if (protocoldebug) { + if (source) + alog("debug: Source %s", source); + if (cmd) + alog("debug: Token %s", cmd); + if (argc) { + for (i = 0; i < argc; i++) { + alog("debug: av[%d] = %s", i, argv[i]); + } + } else { + alog("debug: av[0] = NULL"); + } + } + return; +} + /*************************************************************************/ /** |