Changeset 551


Ignore:
Timestamp:
01/07/11 09:20:01 (17 months ago)
Author:
eagle
Message:

inet_ntop error message fixed

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/configure

    r550 r551  
    11#! /bin/sh 
    22# Guess values for system-dependent variables and create Makefiles. 
    3 # Generated by GNU Autoconf 2.62 for onioncat 0.2.2.r550. 
     3# Generated by GNU Autoconf 2.62 for onioncat 0.2.2.r551. 
    44# 
    55# Report bugs to <rahra@cypherpunk.at>. 
     
    597597PACKAGE_NAME='onioncat' 
    598598PACKAGE_TARNAME='onioncat' 
    599 PACKAGE_VERSION='0.2.2.r550' 
    600 PACKAGE_STRING='onioncat 0.2.2.r550' 
     599PACKAGE_VERSION='0.2.2.r551' 
     600PACKAGE_STRING='onioncat 0.2.2.r551' 
    601601PACKAGE_BUGREPORT='rahra@cypherpunk.at' 
    602602 
     
    12631263  # This message is too long to be a string in the A/UX 3.1 sh. 
    12641264  cat <<_ACEOF 
    1265 \`configure' configures onioncat 0.2.2.r550 to adapt to many kinds of systems. 
     1265\`configure' configures onioncat 0.2.2.r551 to adapt to many kinds of systems. 
    12661266 
    12671267Usage: $0 [OPTION]... [VAR=VALUE]... 
     
    13331333if test -n "$ac_init_help"; then 
    13341334  case $ac_init_help in 
    1335      short | recursive ) echo "Configuration of onioncat 0.2.2.r550:";; 
     1335     short | recursive ) echo "Configuration of onioncat 0.2.2.r551:";; 
    13361336   esac 
    13371337  cat <<\_ACEOF 
     
    14261426if $ac_init_version; then 
    14271427  cat <<\_ACEOF 
    1428 onioncat configure 0.2.2.r550 
     1428onioncat configure 0.2.2.r551 
    14291429generated by GNU Autoconf 2.62 
    14301430 
     
    14401440running configure, to aid debugging if configure makes a mistake. 
    14411441 
    1442 It was created by onioncat $as_me 0.2.2.r550, which was 
     1442It was created by onioncat $as_me 0.2.2.r551, which was 
    14431443generated by GNU Autoconf 2.62.  Invocation command line was 
    14441444 
     
    20892089# Define the identity of the package. 
    20902090 PACKAGE='onioncat' 
    2091  VERSION='0.2.2.r550' 
     2091 VERSION='0.2.2.r551' 
    20922092 
    20932093 
     
    22402240 
    22412241cat >>confdefs.h <<\_ACEOF 
    2242 #define SVN_REVISION "550" 
     2242#define SVN_REVISION "551" 
    22432243_ACEOF 
    22442244 
     
    59485948# values after options handling. 
    59495949ac_log=" 
    5950 This file was extended by onioncat $as_me 0.2.2.r550, which was 
     5950This file was extended by onioncat $as_me 0.2.2.r551, which was 
    59515951generated by GNU Autoconf 2.62.  Invocation command line was 
    59525952 
     
    60016001cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 
    60026002ac_cs_version="\\ 
    6003 onioncat config.status 0.2.2.r550 
     6003onioncat config.status 0.2.2.r551 
    60046004configured by $0, generated by GNU Autoconf 2.62, 
    60056005  with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\" 
  • trunk/man/ocat.1

    r534 r551  
    170170 
    171171.SH AUTHOR 
    172 Concepts, software, and man page written by Bernhard R. Fischer. 
    173 Package maintenance and additional support by Ferdinand Haselbacher, 
    174 Daniel Haslinger, and Wim Gaethofs. 
     172Concepts, software, and man page written by Bernhard R. Fischer 
     173<bf@abenteuerland.at>. Package maintenance and additional support by Ferdinand 
     174Haselbacher, Daniel Haslinger <creo-ocat@blackmesa.at>, and Wim Gaethofs. 
    175175 
    176176.SH "SEE ALSO" 
     
    197197You should have received a copy of the GNU General Public License 
    198198along with OnionCat. If not, see <http://www.gnu.org/licenses/>. 
     199 
  • trunk/src/ocatsocks.c

    r547 r551  
    3333static SocksQueue_t *socks_queue_ = NULL; 
    3434 
    35 #define SOCKS_BUFLEN (sizeof(SocksHdr_t) + NDESC(name_size) + strlen(CNF(usrname)) + 2) 
     35#define SOCKS_MIN_BUFLEN (sizeof(SocksHdr_t) + NDESC(name_size) + strlen(CNF(usrname)) + 2) 
     36#define SOCKS_BUFLEN (SOCKS_MIN_BUFLEN < INET6_ADDRSTRLEN ? INET6_ADDRSTRLEN : SOCKS_MIN_BUFLEN) 
    3637 
    3738 
     
    5960   } 
    6061 
     62   log_debug("SOCKS_BUFLEN = %d, NI_MAXHOST = %d", SOCKS_BUFLEN, NI_MAXHOST); 
    6163   if (inet_ntop(AF_INET6, &sq->addr, buf, sizeof(buf)) == NULL) 
    6264   { 
Note: See TracChangeset for help on using the changeset viewer.