~mdw
/
become
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove blank line.
[become]
/
src
/
bcquery.c
diff --git
a/src/bcquery.c
b/src/bcquery.c
index
e43d075
..
18354c9
100644
(file)
--- a/
src/bcquery.c
+++ b/
src/bcquery.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: bcquery.c,v 1.
1 1998/04/23 13:20:20
mdw Exp $
+ * $Id: bcquery.c,v 1.
3 1999/05/04 16:17:11
mdw Exp $
*
* Query and dump Become's configuration file
*
*
* Query and dump Become's configuration file
*
@@
-29,6
+29,13
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: bcquery.c,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: bcquery.c,v $
+ * Revision 1.3 1999/05/04 16:17:11 mdw
+ * Change to header file name for parser. See log for `parse.h' for
+ * details.
+ *
+ * Revision 1.2 1998/06/26 10:32:31 mdw
+ * Cosmetic change: use sizeof(destination) in memcpy.
+ *
* Revision 1.1 1998/04/23 13:20:20 mdw
* Added new program to verify and query Become configuration files.
*
* Revision 1.1 1998/04/23 13:20:20 mdw
* Added new program to verify and query Become configuration files.
*
@@
-73,7
+80,7
@@
#include "mdwopt.h"
#include "name.h"
#include "netg.h"
#include "mdwopt.h"
#include "name.h"
#include "netg.h"
-#include "parse
r
.h"
+#include "parse.h"
#include "rule.h"
#include "sym.h"
#include "utils.h"
#include "rule.h"
#include "sym.h"
#include "utils.h"
@@
-326,7
+333,7
@@
static qnode *qparse_atom(void)
if (!h)
die("unknown host `%s'", optarg);
q->q_cat = cat_where;
if (!h)
die("unknown host `%s'", optarg);
q->q_cat = cat_where;
- memcpy(&q->q_in, h->h_addr, sizeof(
struct in_addr
));
+ memcpy(&q->q_in, h->h_addr, sizeof(
q->q_in
));
nextopt();
return (q);
}
nextopt();
return (q);
}