# | Line 29 | Line 29 | |
---|---|---|
29 | #include <unistd.h> | |
30 | #include <stdlib.h> | |
31 | #include <ukcprog.h> | |
32 | + | #include <netinet/in.h> |
33 | + | #include <netdb.h> |
34 | ||
35 | #include <libxml/xmlmemory.h> | |
36 | #include <libxml/parser.h> | |
# | Line 905 | Line 907 | int main(int argc, char **argv){ | |
907 | control=create_tcp_connection(servername, server_control_port); | |
908 | if(control==NULL){ | |
909 | errf("Failed to connect (%m)"); | |
910 | + | exit(1); |
911 | } | |
912 | ||
913 | if(argc==4){ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |