]> git.kaiwu.me - nginx.git/commitdiff
fix a comment and a style fix
authorIgor Sysoev <igor@sysoev.ru>
Fri, 26 Mar 2010 11:27:32 +0000 (11:27 +0000)
committerIgor Sysoev <igor@sysoev.ru>
Fri, 26 Mar 2010 11:27:32 +0000 (11:27 +0000)
src/misc/ngx_google_perftools_module.c

index 66c3a1f98cd27046c5b789bd2f5fd8a48a729d00..a36220e80d1f0b241759ef91ca2763828193da1e 100644 (file)
@@ -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 @@ ngx_google_perftools_worker(ngx_cycle_t *cycle)
     }
 
     if (getenv("CPUPROFILE")) {
-
         /* disable inherited Profiler enabled in master process */
         ProfilerStop();
     }
@@ -109,7 +108,6 @@ ngx_google_perftools_worker(ngx_cycle_t *cycle)
     ngx_sprintf(profile, "%V.%d%Z", &gptcf->profiles, ngx_pid);
 
     if (ProfilerStart(profile)) {
-
         /* start ITIMER_PROF timer */
         ProfilerRegisterThread();