Browse code

- fix fifo_cbp bug if null response file (coredump) (discovered by Raphael, fixed by Bogdan)

Andrei Pelinescu-Onciul authored on 08/12/2003 15:47:51
Showing 2 changed files
... ...
@@ -20,7 +20,7 @@ core:
20 20
        time before an ongoing connect will be aborted
21 21
    tcp_send_timeout= seconds
22 22
        time after a tcp connection will be closed if it is not available 
23
-       for writing in this interval (and ser wants to sen something on it)
23
+       for writing in this interval (and ser wants to send something on it)
24 24
    tcp_accept_aliases= yes|no
25 25
        if a message received over a tcp connection has "alias" in its via
26 26
        a new tcp alias port will be created for the connection the message
... ...
@@ -202,7 +202,7 @@ static inline int fifo_cbp(char** shm_file, char* response_file)
202 202
 		}
203 203
 		memcpy(*shm_file, response_file, fn_len);
204 204
 	} else {
205
-		shm_file = 0;
205
+		*shm_file = 0;
206 206
 	}
207 207
 	return 0;
208 208
 }