It's how we usually do it and is apparently also required
when compiling with gcc 2.95.
Initial patch submitted by Simon South in #
3564815.
-const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.129 2012/06/08 15:15:11 fabiankeil Exp $";
+const char loadcfg_rcs[] = "$Id: loadcfg.c,v 1.130 2012/07/27 17:36:06 fabiankeil Exp $";
/*********************************************************************
*
* File : $Source: /cvsroot/ijbswa/current/loadcfg.c,v $
{
char *original_headers_copy;
char **vector;
+ size_t max_segments;
int number_of_headers;
int i;
* The same hack is used in get_last_url() so it looks like
* a real solution is needed.
*/
- size_t max_segments = strlen(ordered_headers) / 2;
+ max_segments = strlen(ordered_headers) / 2;
if (max_segments == 0)
{
max_segments = 1;