Imported Upstream version 2.1.1
This commit is contained in:
parent
060ec72678
commit
61401f6508
17 changed files with 180 additions and 132 deletions
|
@ -178,7 +178,7 @@ main (int argc, char **argv)
|
|||
|
||||
/* watch for the REAL connection string */
|
||||
result = recv (sd, buffer, MAX_INPUT_BUFFER - 1, 0);
|
||||
buffer[result] = "\0"; /* null terminate recieved buffer */
|
||||
buffer[result] = '\0'; /* null terminate recieved buffer */
|
||||
|
||||
/* return a CRITICAL status if we couldn't read any data */
|
||||
if (result == -1) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue