fix a comment and a style fix
diff --git a/src/misc/ngx_google_perftools_module.c b/src/misc/ngx_google_perftools_module.c
index 66c3a1f..a36220e 100644
--- a/src/misc/ngx_google_perftools_module.c
+++ b/src/misc/ngx_google_perftools_module.c
@@ -8,7 +8,7 @@
#include <ngx_core.h>
/*
- * declare Profiler here interface because
+ * declare Profiler interface here because
* <google/profiler.h> is C++ header file
*/
@@ -101,7 +101,6 @@
}
if (getenv("CPUPROFILE")) {
-
/* disable inherited Profiler enabled in master process */
ProfilerStop();
}
@@ -109,7 +108,6 @@
ngx_sprintf(profile, "%V.%d%Z", &gptcf->profiles, ngx_pid);
if (ProfilerStart(profile)) {
-
/* start ITIMER_PROF timer */
ProfilerRegisterThread();