Subversion Repositories HelenOS-historic

Rev

Rev 1352 | Rev 1392 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1352 Rev 1365
Line 76... Line 76...
76
        printf("%s: Error: Registering at naming service failed.\n", NAME);
76
        printf("%s: Error: Registering at naming service failed.\n", NAME);
77
        return -1;
77
        return -1;
78
    };
78
    };
79
   
79
   
80
    while (1) {
80
    while (1) {
81
        callid = ipc_wait_for_call(&call, 0);
81
        callid = ipc_wait_for_call(&call);
82
    //  printf("%s:Call phone=%lX..", NAME, call.in_phone_hash);
82
    //  printf("%s:Call phone=%lX..", NAME, call.in_phone_hash);
83
        switch (IPC_GET_METHOD(call)) {
83
        switch (IPC_GET_METHOD(call)) {
84
            case IPC_M_PHONE_HUNGUP:
84
            case IPC_M_PHONE_HUNGUP:
85
                if (connected) {
85
                if (connected) {
86
                    /* If nobody's connected, clear keybuffer and dont store new keys */
86
                    /* If nobody's connected, clear keybuffer and dont store new keys */