Update of /cvsroot/perfparse/_perfparse/perfparse
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26028/perfparse
Modified Files:
storage.c
Log Message:
fix install issues phpui (thanks to Sabrina Kavanaugh). Make cleanup more friendly.
Index: storage.c
===================================================================
RCS file: /cvsroot/perfparse/_perfparse/perfparse/storage.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** storage.c 18 Dec 2007 15:08:51 -0000 1.9
--- storage.c 13 Feb 2008 22:50:32 -0000 1.10
***************
*** 167,170 ****
--- 167,171 ----
int storage_disconnect(void) {
+ pp_log_func;
storage_module_element_t *this;
for(this=storage_modules; this; this = this->next) {
***************
*** 176,179 ****
--- 177,181 ----
int storage_set_registry(const char*hostname, const char*key, const char*value, time_t tm) {
+ pp_log_func;
storage_module_element_t *this;
for(this=storage_modules; this; this = this->next) {
***************
*** 184,187 ****
--- 186,190 ----
int storage_store_line(const log_line_t *log_line) {
+ pp_log_func;
storage_module_element_t *this;
for(this=storage_modules; this; this = this->next) {
***************
*** 202,205 ****
--- 205,209 ----
int storage_store_perf(const log_line_t *log_line, const perf_fields_t *perf_fields) {
+ pp_log_func;
storage_module_element_t *this;
int perf = 0;
***************
*** 220,223 ****
--- 224,228 ----
*/
void storage_atexit(void) {
+ pp_log_func;
storage_module_element_t *this;
if(main_pid == getpid()) {
***************
*** 234,237 ****
--- 239,243 ----
int storage_print_statistics(FILE*fd, void(*print_global_statistics_cb)(FILE*fd, perfparse_statistics_t*stats), perfparse_statistics_t*stats) {
+ pp_log_func;
storage_module_element_t *this;
if (!config_get_value_as_boolean(CONFIG_ITEM_ID_DO_REPORT)) return(0);
***************
*** 245,248 ****
--- 251,255 ----
int storage_print_usage(FILE*fd, const char*id) {
+ pp_log_func;
storage_module_element_t *this;
for(this=storage_modules; this; this = this->next) {
|