The branch, v3-2-test has been updated
       via  6b7ccd3efb05291f3b8779845a3842a09bb9aa07 (commit)
      from  81ca5853b2475f123faab3b550f0a7b24ae3c208 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-2-test


- Log -----------------------------------------------------------------
commit 6b7ccd3efb05291f3b8779845a3842a09bb9aa07
Author: Jeremy Allison <[EMAIL PROTECTED]>
Date:   Fri Nov 2 12:56:21 2007 -0700

    Fix typos in calc_sa_size, noticed by [EMAIL PROTECTED]
    Jeremy.

-----------------------------------------------------------------------

Summary of changes:
 source/lib/interfaces.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/interfaces.c b/source/lib/interfaces.c
index 01481c5..1174bf8 100644
--- a/source/lib/interfaces.c
+++ b/source/lib/interfaces.c
@@ -701,9 +701,10 @@ static socklen_t calc_sa_size(struct sockaddr *psa)
        socklen_t sl = sizeof(struct sockaddr_in);
 #if defined(HAVE_IPV6)
        if (psa->sa_family == AF_INET6) {
-               salen = sizeof(struct sockaddr_in6);
+               sl = sizeof(struct sockaddr_in6);
        }
 #endif
+       return sl;
 }
 
  int main()


-- 
Samba Shared Repository

Reply via email to