GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Channel %u not found\n",
msg->cid);
+ GNUNET_SERVER_receive_done (client, GNUNET_YES);
return;
}
switch (ch->status)
case CS_CALLEE_SHUTDOWN:
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Ignoring client's PICKUP message, line is in SHUTDOWN\n");
- GNUNET_SERVER_receive_done (client, GNUNET_OK);
break;
case CS_CALLER_CALLING:
case CS_CALLER_CONNECTED:
break;
case CS_CALLEE_SHUTDOWN:
/* maybe the other peer closed asynchronously... */
+ GNUNET_SERVER_receive_done (client, GNUNET_OK);
return;
case CS_CALLER_CALLING:
ch->status = CS_CALLER_SHUTDOWN;
break;
case CS_CALLER_SHUTDOWN:
/* maybe the other peer closed asynchronously... */
+ GNUNET_SERVER_receive_done (client, GNUNET_OK);
return;
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Channel %u not found\n",
msg->cid);
+ GNUNET_SERVER_receive_done (client, GNUNET_OK);
return;
}
if (GNUNET_YES == ch->suspended_local)
break;
case CS_CALLEE_SHUTDOWN:
/* maybe the other peer closed asynchronously... */
+ GNUNET_SERVER_receive_done (client, GNUNET_OK);
return;
case CS_CALLER_CALLING:
GNUNET_break (0);
break;
case CS_CALLER_SHUTDOWN:
/* maybe the other peer closed asynchronously... */
+ GNUNET_SERVER_receive_done (client, GNUNET_OK);
return;
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Channel %u not found\n",
msg->cid);
+ GNUNET_SERVER_receive_done (client, GNUNET_OK);
return;
}
if (GNUNET_YES != ch->suspended_local)
break;
case CS_CALLEE_SHUTDOWN:
/* maybe the other peer closed asynchronously... */
+ GNUNET_SERVER_receive_done (client, GNUNET_OK);
return;
case CS_CALLER_CALLING:
GNUNET_break (0);
break;
case CS_CALLER_SHUTDOWN:
/* maybe the other peer closed asynchronously... */
+ GNUNET_SERVER_receive_done (client, GNUNET_SYSERR);
return;
}
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
GNUNET_log (GNUNET_ERROR_TYPE_DEBUG,
"Channel %u not found\n",
msg->cid);
+ GNUNET_SERVER_receive_done (client, GNUNET_OK);
return;
}