Some very small fixes

This commit is contained in:
Guus Sliepen 2001-10-31 20:37:54 +00:00
parent ffb88ff641
commit 8e74c5bee4
3 changed files with 7 additions and 6 deletions

View file

@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id: netutl.c,v 1.12.4.20 2001/10/27 12:13:17 guus Exp $
$Id: netutl.c,v 1.12.4.21 2001/10/31 20:37:54 guus Exp $
*/
#include "config.h"
@ -50,7 +50,7 @@ char *hostlookup(unsigned long addr)
cp
in.s_addr = addr;
get_config_int(lookup_config(config_tree, "Hostnames"), &lookup_hostname);
get_config_bool(lookup_config(config_tree, "Hostnames"), &lookup_hostname);
if(lookup_hostname)
host = gethostbyaddr((char *)&in, sizeof(in), AF_INET);

View file

@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id: process.c,v 1.1.2.30 2001/10/31 12:50:24 guus Exp $
$Id: process.c,v 1.1.2.31 2001/10/31 20:37:54 guus Exp $
*/
#include "config.h"
@ -409,7 +409,7 @@ ignore_signal_handler(int a, siginfo_t *info, void *b)
{
if(debug_lvl >= DEBUG_SCARY_THINGS)
{
syslog(LOG_WARNING, _("Got unexpected signal %d (%s)"), a, strsignal(a));
syslog(LOG_DEBUG, _("Ignored signal %d (%s)"), a, strsignal(a));
cp_trace();
}
}
@ -450,6 +450,7 @@ setup_signals(void)
sigaction(i, &act, NULL);
}
/* If we didn't detach, allow coredumps */
if(!do_detach)
sighandlers[3].handler = SIG_DFL;

View file

@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
$Id: protocol.c,v 1.28.4.116 2001/10/31 20:02:06 guus Exp $
$Id: protocol.c,v 1.28.4.117 2001/10/31 20:37:54 guus Exp $
*/
#include "config.h"
@ -983,7 +983,7 @@ cp
int send_add_edge(connection_t *c, edge_t *e)
{
cp
return send_request(c, "%d %s %s %lx %d", ADD_NODE,
return send_request(c, "%d %s %s %lx %d", ADD_EDGE,
e->from->name, e->to->name, e->options, e->weight);
}