projects
/
yazpp-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Pimpl Z_Assoc class
[yazpp-moved-to-github.git]
/
zlint
/
main.cpp
diff --git
a/zlint/main.cpp
b/zlint/main.cpp
index
a2a20cf
..
80a1560
100644
(file)
--- a/
zlint/main.cpp
+++ b/
zlint/main.cpp
@@
-1,3
+1,6
@@
+#if HAVE_CONFIG_H
+#include <config.h>
+#endif
#include <stdlib.h>
#include <yazpp/pdu-assoc.h>
#include <stdlib.h>
#include <yazpp/pdu-assoc.h>
@@
-9,7
+12,7
@@
int main(int argc, char **argv)
{
SocketManager mySocketManager;
Zlint z(new PDU_Assoc(&mySocketManager));
{
SocketManager mySocketManager;
Zlint z(new PDU_Assoc(&mySocketManager));
-
+
if (argc > 1)
z.set_host(argv[1]);
else
if (argc > 1)
z.set_host(argv[1]);
else