33,12 → 33,10 |
/** @file |
*/ |
#include <async.h> |
#include <errno.h> |
#include <ipc/ipc.h> |
#include <ipc/services.h> |
|
#include <stdio.h> |
|
#include "err.h" |
#include "modules.h" |
|
#define MODULE_WAIT_TIME 10000 |
60,7 → 58,7 |
ipcarg_t phonehash; |
ERROR_DECLARE; |
|
if(( ! me ) || ( ! client_connection )) return EINVAL; |
if( ! client_connection ) return EINVAL; |
async_set_client_connection( client_connection ); |
|
if( need ){ |
79,7 → 77,7 |
if( initialize_me ) ERROR_PROPAGATE( initialize_me()); |
|
/* Register service at NS */ |
ERROR_PROPAGATE( REGISTER_ME( me, & phonehash )); |
if( me ) ERROR_PROPAGATE( REGISTER_ME( me, & phonehash )); |
|
async_manager(); |
|