~ubuntu-branches/ubuntu/karmic/dante/karmic

« back to all changes in this revision

Viewing changes to lib/clientprotocol.c

  • Committer: Bazaar Package Importer
  • Author(s): Thijs Kinkhorst
  • Date: 2006-10-19 12:09:39 UTC
  • mfrom: (3.1.1 dapper)
  • Revision ID: james.westby@ubuntu.com-20061019120939-t818x24e2tn8be5k
Tags: 1.1.18-2.1
* Non-maintainer upload for RC bug.
* Make sure changelogs are installed into all packages (Closes: #393568).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
 
 * Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003
 
2
 * Copyright (c) 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
3
3
 *      Inferno Nettverk A/S, Norway.  All rights reserved.
4
4
 *
5
5
 * Redistribution and use in source and binary forms, with or without
44
44
#include "common.h"
45
45
 
46
46
static const char rcsid[] =
47
 
"$Id: clientprotocol.c,v 1.43 2003/07/01 13:21:26 michaels Exp $";
 
47
"$Id: clientprotocol.c,v 1.45 2005/01/24 10:24:21 karls Exp $";
48
48
 
49
49
int
50
50
socks_sendrequest(s, request)
350
350
 
351
351
                                        OCTETIFY(alen);
352
352
 
 
353
#if MAXHOSTNAMELEN < 0xff
353
354
                                        SASSERTX(alen < sizeof(host->addr.domain));
 
355
#endif
354
356
 
355
357
                                        /* BND.ADDR, alen octets */
356
358
                                        if (readn(s, host->addr.domain, (size_t)alen, auth)