Actually, this appears to be part of the if statement before it.

A complete listing would be this (again, from main2() in sqwebmail.c):

        if (!ip_addr)   ip_addr="127.0.0.1";

        umask(0077);

        {
                const char *p=getenv("SQWEBMAIL_TIMEOUTHARD");

                if (p && *p)
                        timeouthard=atoi(p);
        }

I understand the curly braces now, I think, but when are the lines
before the curly braces (and after the 'if') executed?

Always?

Very confused. Thanks.

Jesse


On Wednesday 29 January 2003 12:47, Jesse Guardiani wrote:
> Mr. Sam,
>
> I noticed that you use "floating" curly braces throughout Sqwebmail,
> like this (taken from main2() ):
>
> umask(0077);
>
> {
>        const char *p=getenv("SQWEBMAIL_TIMEOUTHARD");
>
>        if (p && *p)
>           timeouthard=atoi(p);
> }
>
>
> I've never seen that done before.
>
> Why do you do that?
>
>
> Thanks,

-- 
Jesse Guardiani, Systems Administrator
WingNET Internet Services,
P.O. Box 2605 // Cleveland, TN 37320-2605
423-559-LINK (v)  423-559-5145 (f)
http://www.wingnet.net

We are actively looking for companies that do a lot of long
distance faxing and want to cut their long distance bill by
up to 50%.  Contact [EMAIL PROTECTED] for more info.



Reply via email to