summaryrefslogtreecommitdiff
path: root/src/misc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/misc.c')
-rw-r--r--src/misc.c40
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;
+}
+
/*************************************************************************/
/**