Some very small fixes
This commit is contained in:
parent
ffb88ff641
commit
8e74c5bee4
3 changed files with 7 additions and 6 deletions
|
@ -17,7 +17,7 @@
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
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"
|
#include "config.h"
|
||||||
|
@ -50,7 +50,7 @@ char *hostlookup(unsigned long addr)
|
||||||
cp
|
cp
|
||||||
in.s_addr = addr;
|
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)
|
if(lookup_hostname)
|
||||||
host = gethostbyaddr((char *)&in, sizeof(in), AF_INET);
|
host = gethostbyaddr((char *)&in, sizeof(in), AF_INET);
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
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"
|
#include "config.h"
|
||||||
|
@ -409,7 +409,7 @@ ignore_signal_handler(int a, siginfo_t *info, void *b)
|
||||||
{
|
{
|
||||||
if(debug_lvl >= DEBUG_SCARY_THINGS)
|
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();
|
cp_trace();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -450,6 +450,7 @@ setup_signals(void)
|
||||||
sigaction(i, &act, NULL);
|
sigaction(i, &act, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* If we didn't detach, allow coredumps */
|
||||||
if(!do_detach)
|
if(!do_detach)
|
||||||
sighandlers[3].handler = SIG_DFL;
|
sighandlers[3].handler = SIG_DFL;
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
along with this program; if not, write to the Free Software
|
along with this program; if not, write to the Free Software
|
||||||
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
|
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"
|
#include "config.h"
|
||||||
|
@ -983,7 +983,7 @@ cp
|
||||||
int send_add_edge(connection_t *c, edge_t *e)
|
int send_add_edge(connection_t *c, edge_t *e)
|
||||||
{
|
{
|
||||||
cp
|
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);
|
e->from->name, e->to->name, e->options, e->weight);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue