aboutsummaryrefslogtreecommitdiff
path: root/lib/libsdp/session.c
diff options
context:
space:
mode:
authorMaksim Yevmenkin <emax@FreeBSD.org>2004-01-09 18:19:12 +0000
committerMaksim Yevmenkin <emax@FreeBSD.org>2004-01-09 18:19:12 +0000
commit6aae6f7e7aa3b66bf251fa5843bfcf34c746ed70 (patch)
tree6edd52105de3fc153df6b4a94ba397fac5c090a0 /lib/libsdp/session.c
parentc8885b4b8ff7f80d9559abdba582c4ea38bc4ee6 (diff)
downloadsrc-6aae6f7e7aa3b66bf251fa5843bfcf34c746ed70.tar.gz
src-6aae6f7e7aa3b66bf251fa5843bfcf34c746ed70.zip
Notes
Diffstat (limited to 'lib/libsdp/session.c')
-rw-r--r--lib/libsdp/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libsdp/session.c b/lib/libsdp/session.c
index 199f8cd2c6e0..2a1303905b0f 100644
--- a/lib/libsdp/session.c
+++ b/lib/libsdp/session.c
@@ -118,7 +118,7 @@ sdp_open_local(void)
sa.sun_len = sizeof(sa);
sa.sun_family = AF_UNIX;
- strlcpy(sa.sun_path, SDP_UNSOCK_PATH, sizeof(sa.sun_path));
+ strlcpy(sa.sun_path, SDP_LOCAL_PATH, sizeof(sa.sun_path));
if (connect(ss->s, (struct sockaddr *) &sa, sizeof(sa)) < 0) {
ss->error = errno;
@@ -126,7 +126,7 @@ sdp_open_local(void)
}
ss->flags |= SDP_SESSION_LOCAL;
- ss->imtu = ss->omtu = SDP_UNSOCK_MTU;
+ ss->imtu = ss->omtu = SDP_LOCAL_MTU;
if ((ss->req = malloc(ss->omtu)) == NULL) {
ss->error = ENOMEM;