~ubuntu-branches/ubuntu/utopic/vsftpd/utopic-proposed

« back to all changes in this revision

Viewing changes to privsock.c

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Baumann
  • Date: 2009-05-03 17:49:00 UTC
  • mto: (2.4.1 sid) (1.5.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 15.
  • Revision ID: james.westby@ubuntu.com-20090503174900-0osuifgr8jknvu5e
Tags: upstream-2.1.1~pre1
ImportĀ upstreamĀ versionĀ 2.1.1~pre1

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
void
24
24
priv_sock_init(struct vsf_session* p_sess)
25
25
{
26
 
  struct vsf_sysutil_socketpair_retval retval;
27
26
  if (p_sess->parent_fd != -1)
28
27
  {
29
28
    bug("parent_fd active");
32
31
  {
33
32
    bug("child_fd active");
34
33
  }
35
 
  retval = vsf_sysutil_unix_stream_socketpair();
 
34
  const struct vsf_sysutil_socketpair_retval retval =
 
35
    vsf_sysutil_unix_stream_socketpair();
36
36
  p_sess->parent_fd = retval.socket_one;
37
37
  p_sess->child_fd = retval.socket_two;
38
38
}