httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@lnd.com>
Subject RE: cvs commit: apache-2.0/src/modules/mpm/winnt mpm_winnt.c service.c
Date Thu, 01 Jun 2000 14:20:07 GMT
> 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 :)

Mime
View raw message