projects
/
gapil.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Aggiornamento alla versione reale
[gapil.git]
/
listati
/
ClientEcho.c
diff --git
a/listati/ClientEcho.c
b/listati/ClientEcho.c
index 0a64e94d4b2b8a548e9ffd6e67d4ff2dd2addbe0..cff81bf885f30e78e7e5e7e12a9be2eb5571cba1 100644
(file)
--- a/
listati/ClientEcho.c
+++ b/
listati/ClientEcho.c
@@
-1,6
+1,6
@@
void ClientEcho(FILE * filein, int socket)
{
void ClientEcho(FILE * filein, int socket)
{
- char sendbuff[MAXLINE
], recvbuff[MAXLINE
];
+ char sendbuff[MAXLINE
+1], recvbuff[MAXLINE+1
];
int nread;
while (fgets(sendbuff, MAXLINE, filein) != NULL) {
FullWrite(socket, sendbuff, strlen(sendbuff));
int nread;
while (fgets(sendbuff, MAXLINE, filein) != NULL) {
FullWrite(socket, sendbuff, strlen(sendbuff));