X-Git-Url: https://tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Ftincd.c;h=6d577570f2fe58f212c8639ba9150b1c55ec866c;hp=433b5e64d710bc8e597022de1660aeb8059bd578;hb=44f9449888344866406c75b178eff83b392b3530;hpb=18e044bde3b508c991910218989b4bacc3a4934e diff --git a/src/tincd.c b/src/tincd.c index 433b5e64..6d577570 100644 --- a/src/tincd.c +++ b/src/tincd.c @@ -19,6 +19,12 @@ /* * $Log: tincd.c,v $ + * Revision 1.6 2000/04/18 16:04:10 zarq + * Address for bugreports changed to tinc@nl.linux.org. + * + * Revision 1.5 2000/04/17 16:23:29 zarq + * Pass the requested size from xmalloc() and xrealloc() on to xalloc_fail_func() + * * Revision 1.4 2000/04/06 18:28:29 zarq * New option -D, don't detach. * @@ -106,7 +112,7 @@ usage(int status) " -t, --timeout=TIMEOUT Seconds to wait before giving a timeout.\n"); printf(" --help Display this help and exit.\n" " --version Output version information and exit.\n\n"); - printf("Report bugs to zarq@iname.com.\n"); + printf("Report bugs to tinc@nl.linux.org.\n"); } exit(status); } @@ -156,9 +162,9 @@ parse_options(int argc, char **argv, char **envp) } } -void memory_full(void) +void memory_full(int size) { - syslog(LOG_ERR, "Memory exhausted; exiting."); + syslog(LOG_ERR, "Memory exhausted (last is %s:%d) (couldn't allocate %d bytes); exiting.", cp_file, cp_line, size); exit(1); }