disinclined.org
/
git
/
irssi-notify.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
working!
[irssi-notify.git]
/
client.c
diff --git
a/client.c
b/client.c
index
463dd38
..
0f00e34
100644
(file)
--- a/
client.c
+++ b/
client.c
@@
-1,7
+1,3
@@
-/*
-** client.c -- a stream socket client demo
-*/
-
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
@@
-75,10
+71,7
@@
int main(int argc, char *argv[])
if (send(sockfd, argv[2], strlen(argv[2])+1, 0) == -1)
perror("send");
- printf("connected\n");
-
close(sockfd);
return 0;
}
-