Changes in uspace/srv/loader/main.c [cb819f9:eda925a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/loader/main.c
rcb819f9 reda925a 58 58 #include <errno.h> 59 59 #include <async.h> 60 #include <str .h>60 #include <string.h> 61 61 #include <as.h> 62 62 … … 241 241 * Allocate new filv 242 242 */ 243 fdi_node_t **_filv = (fdi_node_t * *) calloc(count + 1,sizeof(fdi_node_t *));243 fdi_node_t **_filv = (fdi_node_t *) malloc((count + 1) * sizeof(fdi_node_t *)); 244 244 if (_filv == NULL) { 245 245 free(buf); … … 411 411 break; 412 412 } 413 if (IPC_GET_METHOD(call) != IPC_M_PHONE_HUNGUP) { 413 if ((callid & IPC_CALLID_NOTIFICATION) == 0 && 414 IPC_GET_METHOD(call) != IPC_M_PHONE_HUNGUP) { 414 415 DPRINTF("Responding EINVAL to method %d.\n", 415 416 IPC_GET_METHOD(call));
Note:
See TracChangeset
for help on using the changeset viewer.