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"
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);
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"
{
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();
}
}
sigaction(i, &act, NULL);
}
+ /* If we didn't detach, allow coredumps */
if(!do_detach)
sighandlers[3].handler = SIG_DFL;
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"
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);
}