diff --git a/src/perl.c b/src/perl.c
index 6d3326faebca7f89b4c5f02223c3bc5e2237ac50..96e85622445da09a7b9ad8deae514e215d279e6f 100644 (file)
--- a/src/perl.c
+++ b/src/perl.c
/**
* collectd - src/perl.c
/**
* collectd - src/perl.c
- * Copyright (C) 2007 Sebastian Harl
+ * Copyright (C) 2007, 2008 Sebastian Harl
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
return 1;
}
return 1;
}
+ if (NULL != perl_threads) {
+ log_warn ("EnableDebugger has no effects if used after LoadPlugin.");
+ return 1;
+ }
+
value = ci->values[0].value.string;
perl_argv = (char **)realloc (perl_argv,
value = ci->values[0].value.string;
perl_argv = (char **)realloc (perl_argv,
return 1;
}
return 1;
}
- if (NULL == aTHX) {
- log_warn ("EnableDebugger has no effects if used after LoadPlugin.");
- return 1;
- }
-
value = ci->values[0].value.string;
if (NULL == aTHX) {
value = ci->values[0].value.string;
if (NULL == aTHX) {