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
Fix up echo_source correctly
[yazpp-moved-to-github.git]
/
zlint
/
main.cpp
diff --git
a/zlint/main.cpp
b/zlint/main.cpp
index
7e34e64
..
a2a20cf
100644
(file)
--- a/
zlint/main.cpp
+++ b/
zlint/main.cpp
@@
-1,7
+1,7
@@
#include <stdlib.h>
#include <stdlib.h>
-#include <yaz++/pdu-assoc.h>
-#include <yaz++/socket-manager.h>
+#include <yazpp/pdu-assoc.h>
+#include <yazpp/socket-manager.h>
#include <zlint.h>
#include <zlint.h>
@@
-11,9
+11,9
@@
int main(int argc, char **argv)
Zlint z(new PDU_Assoc(&mySocketManager));
if (argc > 1)
Zlint z(new PDU_Assoc(&mySocketManager));
if (argc > 1)
- z.set_host(argv[1]);
+ z.set_host(argv[1]);
else
else
- z.set_host("localhost:9999");
+ z.set_host("localhost:9999");
Zlint_test_init_01 t01;
z.add_test(&t01);
Zlint_test_init_01 t01;
z.add_test(&t01);
@@
-46,7
+46,16
@@
int main(int argc, char **argv)
z.add_test(&scan01);
while (mySocketManager.processEvent() > 0)
z.add_test(&scan01);
while (mySocketManager.processEvent() > 0)
- ;
+ ;
exit (0);
}
exit (0);
}
+/*
+ * Local variables:
+ * c-basic-offset: 4
+ * c-file-style: "Stroustrup"
+ * indent-tabs-mode: nil
+ * End:
+ * vim: shiftwidth=4 tabstop=8 expandtab
+ */
+