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
Reformat: delete trailing whitespace
[yazpp-moved-to-github.git]
/
zlint
/
main.cpp
diff --git
a/zlint/main.cpp
b/zlint/main.cpp
index
9dc8aab
..
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
@@
-53,6
+56,7
@@
int main(int argc, char **argv)
/*
* Local variables:
* c-basic-offset: 4
/*
* Local variables:
* c-basic-offset: 4
+ * c-file-style: "Stroustrup"
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab
* indent-tabs-mode: nil
* End:
* vim: shiftwidth=4 tabstop=8 expandtab