rbb 2002/10/11 14:49:03
Modified: network_io/unix sa_common.c
Log:
WE can declare a variable after executing some code.
Revision Changes Path
1.60 +1 -1 apr/network_io/unix/sa_common.c
Index: sa_common.c
===================================================================
RCS file: /home/cvs/apr/network_io/unix/sa_common.c,v
retrieving revision 1.59
retrieving revision 1.60
diff -u -r1.59 -r1.60
--- sa_common.c 11 Oct 2002 20:41:23 -0000 1.59
+++ sa_common.c 11 Oct 2002 21:49:03 -0000 1.60
@@ -509,8 +509,8 @@
apr_int32_t family,
apr_port_t port,
apr_int32_t flags,
apr_pool_t *p)
{
- *sa = NULL;
apr_int32_t masked;
+ *sa = NULL;
if ((masked = flags & (APR_IPV4_ADDR_OK | APR_IPV6_ADDR_OK))) {
if (!hostname ||