Return-Path: Delivered-To: apmail-new-httpd-archive@apache.org Received: (qmail 81896 invoked by uid 500); 1 Jun 2000 14:36:58 -0000 Mailing-List: contact new-httpd-help@apache.org; run by ezmlm Precedence: bulk X-No-Archive: yes Reply-To: new-httpd@apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list new-httpd@apache.org Received: (qmail 81884 invoked from network); 1 Jun 2000 14:36:57 -0000 From: "William A. Rowe, Jr." To: , Subject: RE: cvs commit: apache-2.0/src/modules/mpm/winnt mpm_winnt.c service.c Date: Thu, 1 Jun 2000 09:20:07 -0500 Message-ID: <000b01bfcbd6$db7fd110$345985d0@corecomm.net> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 In-reply-to: <200006011228.IAA11874@k5.localdomain> Importance: Normal X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N > From: Jeff Trawick [mailto:trawickj@bellsouth.net] > Sent: Thursday, June 01, 2000 7:28 AM > > > if (!strcasecmp(signal_arg, "install")) { > > - mpm_service_install(ptemp, inst_argc, inst_argv); > > - exit(rv); > > + rv = mpm_service_install(ptemp, inst_argc, inst_argv); > > + exit (rv); > > Can I start putting opening braces where God intended :) ? (style of > call to function exit()) No... I was flying much too quickly. exit() is a function. return () is an op (as is if (), for (), etc...). This is to-be-fixed :) > > if (!strcasecmp(signal_arg, "restart")) { > > mpm_signal_service(ptemp, ap_pid_fname, 1); > > - exit(0); > > + exit (rv); > > Where does rv come from for this exit() call? ick. tbf :)