You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by wr...@apache.org on 2009/08/25 22:12:21 UTC
svn commit: r807789 -
/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proctbl_unix.c
Author: wrowe
Date: Tue Aug 25 20:12:21 2009
New Revision: 807789
URL: http://svn.apache.org/viewvc?rev=807789&view=rev
Log:
Correct ssize_t mismatch
Modified:
httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proctbl_unix.c
Modified: httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proctbl_unix.c
URL: http://svn.apache.org/viewvc/httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proctbl_unix.c?rev=807789&r1=807788&r2=807789&view=diff
==============================================================================
--- httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proctbl_unix.c (original)
+++ httpd/mod_fcgid/trunk/modules/fcgid/fcgid_proctbl_unix.c Tue Aug 25 20:12:21 2009
@@ -296,23 +296,23 @@
current_node != g_proc_array;
current_node = &g_proc_array[current_node->next_index]) {
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, main_server,
- "mod_fcgid: idle node index: %d",
- current_node - g_proc_array);
+ "mod_fcgid: idle node index: %ld",
+ (long)(current_node - g_proc_array));
}
for (current_node = &g_proc_array[g_busy_list_header->next_index];
current_node != g_proc_array;
current_node = &g_proc_array[current_node->next_index]) {
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, main_server,
- "mod_fcgid: busy node index: %d",
- current_node - g_proc_array);
+ "mod_fcgid: busy node index: %ld",
+ (long)(current_node - g_proc_array));
}
for (current_node = &g_proc_array[g_error_list_header->next_index];
current_node != g_proc_array;
current_node = &g_proc_array[current_node->next_index]) {
ap_log_error(APLOG_MARK, APLOG_WARNING, 0, main_server,
- "mod_fcgid: error node index: %d",
- current_node - g_proc_array);
+ "mod_fcgid: error node index: %ld",
+ (long)(current_node - g_proc_array));
}
}