mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-19 16:20:37 +00:00
fix indentation
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -706,9 +706,11 @@ static int setformat(struct chan_oss_pvt *o, int mode)
|
|||||||
o->duplex = M_FULL;
|
o->duplex = M_FULL;
|
||||||
};
|
};
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case O_WRONLY:
|
case O_WRONLY:
|
||||||
o->duplex = M_WRITE;
|
o->duplex = M_WRITE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case O_RDONLY:
|
case O_RDONLY:
|
||||||
o->duplex = M_READ;
|
o->duplex = M_READ;
|
||||||
break;
|
break;
|
||||||
@@ -963,10 +965,12 @@ static int oss_indicate(struct ast_channel *c, int cond, const void *data, size_
|
|||||||
case AST_CONTROL_VIDUPDATE:
|
case AST_CONTROL_VIDUPDATE:
|
||||||
res = -1;
|
res = -1;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AST_CONTROL_HOLD:
|
case AST_CONTROL_HOLD:
|
||||||
ast_verbose(" << Console Has Been Placed on Hold >> \n");
|
ast_verbose(" << Console Has Been Placed on Hold >> \n");
|
||||||
ast_moh_start(c, data, o->mohinterpret);
|
ast_moh_start(c, data, o->mohinterpret);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case AST_CONTROL_UNHOLD:
|
case AST_CONTROL_UNHOLD:
|
||||||
ast_verbose(" << Console Has Been Retrieved from Hold >> \n");
|
ast_verbose(" << Console Has Been Retrieved from Hold >> \n");
|
||||||
ast_moh_stop(c);
|
ast_moh_stop(c);
|
||||||
|
|||||||
Reference in New Issue
Block a user