summaryrefslogtreecommitdiffstats
path: root/lib/smux.c
diff options
context:
space:
mode:
authorStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-04 10:31:37 -0700
committerStephen Hemminger <stephen.hemminger@vyatta.com>2009-06-04 10:31:37 -0700
commitdb08408462ac8afa1b95aec4eb8d3efeb283025d (patch)
treeece8ff3df7fce16c95c4057f32346beae979dbd0 /lib/smux.c
parentcd2ec99e4e365bd61deebd61639cd3e1e777cdbe (diff)
parent6e0989e113d9e2268e58cfe29922e971793c1d06 (diff)
downloadquagga-db08408462ac8afa1b95aec4eb8d3efeb283025d.tar.bz2
quagga-db08408462ac8afa1b95aec4eb8d3efeb283025d.tar.xz
Merge branch 'upstream' into jenner
Conflicts: bgpd/bgp_aspath.c bgpd/bgpd.c lib/smux.c lib/workqueue.c ospfd/ospf_snmp.c
Diffstat (limited to 'lib/smux.c')
-rw-r--r--lib/smux.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/smux.c b/lib/smux.c
index d5378897..9f3c3922 100644
--- a/lib/smux.c
+++ b/lib/smux.c
@@ -941,7 +941,7 @@ smux_read (struct thread *t)
return 0;
}
-int
+static int
smux_open (int sock)
{
u_char buf[BUFSIZ];
@@ -985,7 +985,7 @@ smux_open (int sock)
ptr = asn_build_string (ptr, &len,
(u_char)
(ASN_UNIVERSAL | ASN_PRIMITIVE | ASN_OCTET_STR),
- (u_char *) smux_passwd, strlen (smux_passwd));
+ (u_char *)smux_passwd, strlen (smux_passwd));
/* Fill in real SMUX header. We exclude ASN header size (2). */
len = BUFSIZ;