projects
/
splice.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
7ee0f27
)
[PATCH] ktee-net: cleanup
author
Jens Axboe
<axboe@suse.de>
Fri, 21 Apr 2006 08:14:01 +0000
(10:14 +0200)
committer
Jens Axboe
<axboe@suse.de>
Fri, 21 Apr 2006 08:14:01 +0000
(10:14 +0200)
ktee-net.c
patch
|
blob
|
blame
|
history
diff --git
a/ktee-net.c
b/ktee-net.c
index e2ebde0c0fd1b0df97e4910e80f8d23a13efa3f6..18ee443b08f9da20a85d94cfa395521772c86683 100755
(executable)
--- a/
ktee-net.c
+++ b/
ktee-net.c
@@
-7,7
+7,6
@@
#include <unistd.h>
#include <string.h>
#include <fcntl.h>
-#include <string.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
@@
-78,8
+77,6
@@
int main(int argc, char *argv[])
if (fd < 0)
return error("socket");
- fprintf(stderr, "connecting to %s, port %x\n", hname, addr.sin_port);
-
if (connect(fd, (struct sockaddr *) &addr, sizeof(addr)) < 0)
return error("connect");