[libpri-commits] dvossel: branch dvossel/aoc_send r1595 - /team/dvossel/aoc_send/pri_aoc.c
SVN commits to the libpri project
libpri-commits at lists.digium.com
Thu Apr 15 13:08:46 CDT 2010
Author: dvossel
Date: Thu Apr 15 13:08:45 2010
New Revision: 1595
URL: http://svnview.digium.com/svn/libpri?view=rev&rev=1595
Log:
fixes comment on reviewboard about errorcode
Modified:
team/dvossel/aoc_send/pri_aoc.c
Modified: team/dvossel/aoc_send/pri_aoc.c
URL: http://svnview.digium.com/svn/libpri/team/dvossel/aoc_send/pri_aoc.c?view=diff&rev=1595&r1=1594&r2=1595
==============================================================================
--- team/dvossel/aoc_send/pri_aoc.c (original)
+++ team/dvossel/aoc_send/pri_aoc.c Thu Apr 15 13:08:45 2010
@@ -1378,7 +1378,6 @@
{
struct pri_subcommand *subcmd;
int *request;
- int errorcode;
if (!PRI_MASTER(ctrl)->aoc_support ||
(reason == APDU_CALLBACK_REASON_ERROR) ||
@@ -1399,8 +1398,7 @@
switch (reason) {
case APDU_CALLBACK_REASON_MSG_ERROR:
- errorcode = msg->response.error->code;
- switch (errorcode) {
+ switch (msg->response.error->code) {
case ROSE_ERROR_Gen_NotImplemented:
subcmd->u.aoc_request_response.charging_response = PRI_AOC_REQ_RSP_ERROR_NOT_IMPLEMENTED;
break;
More information about the libpri-commits
mailing list