Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/loader/main.c

    rcb819f9 reda925a  
    5858#include <errno.h>
    5959#include <async.h>
    60 #include <str.h>
     60#include <string.h>
    6161#include <as.h>
    6262
     
    241241                 * Allocate new filv
    242242                 */
    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 *));
    244244                if (_filv == NULL) {
    245245                        free(buf);
     
    411411                        break;
    412412                }
    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) {
    414415                        DPRINTF("Responding EINVAL to method %d.\n",
    415416                            IPC_GET_METHOD(call));
Note: See TracChangeset for help on using the changeset viewer.