You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Steve Freeland <ne...@hasc.com> on 1999/07/05 21:50:55 UTC

general/4699: Code duplication in http_main.c

>Number:         4699
>Category:       general
>Synopsis:       Code duplication in http_main.c
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          duplicate
>Submitter-Id:   apache
>Arrival-Date:   Mon Jul  5 14:10:01 PDT 1999
>Last-Modified:
>Originator:     nephtes@hasc.com
>Organization:
apache
>Release:        1.3.6
>Environment:
n/a
>Description:
There seems to be some duplication between REALMAIN and 
standalone_main/master_main, among others:  Calls to ap_read_config,
ap_open_logs, ap_set_version and ap_init_modules.  Or are they meant to be
called twice each?  I don't see why.
This does not seem to be causing problems per se right now, except perhaps,
at worst, some lost memory.
>How-To-Repeat:
n/a
>Fix:
Remove duplicate calls (duh)
>Audit-Trail:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> in the Cc line and make sure the]
[subject line starts with the report component and number, with ]
[or without any 'Re:' prefixes (such as "general/1098:" or      ]
["Re: general/1098:").  If the subject doesn't match this       ]
[pattern, your message will be misfiled and ignored.  The       ]
["apbugs" address is not added to the Cc line of messages from  ]
[the database automatically because of the potential for mail   ]
[loops.  If you do not include this Cc, your reply may be ig-   ]
[nored unless you are responding to an explicit request from a  ]
[developer.  Reply only with text; DO NOT SEND ATTACHMENTS!     ]