7d95763414
Split up the ubuntu patch OBS-URL: https://build.opensuse.org/request/show/197181 OBS-URL: https://build.opensuse.org/package/show/network:utilities/netcat-openbsd?expand=0&rev=12
18 lines
690 B
Diff
18 lines
690 B
Diff
Index: netcat-openbsd-1.89/netcat.c
|
|
===================================================================
|
|
--- netcat-openbsd-1.89.orig/netcat.c 2010-02-09 10:29:21.000000000 +0100
|
|
+++ netcat-openbsd-1.89/netcat.c 2010-02-09 10:29:45.000000000 +0100
|
|
@@ -421,9 +421,9 @@ main(int argc, char *argv[])
|
|
uflag ? "udp" : "tcp");
|
|
}
|
|
|
|
- printf("Connection to %s %s port [%s/%s] succeeded!\n",
|
|
- host, portlist[i], uflag ? "udp" : "tcp",
|
|
- sv ? sv->s_name : "*");
|
|
+ fprintf(stderr, "Connection to %s %s port [%s/%s] "
|
|
+ "succeeded!\n", host, portlist[i],
|
|
+ uflag ? "udp" : "tcp", sv ? sv->s_name : "*");
|
|
}
|
|
if (!zflag)
|
|
readwrite(s);
|