summaryrefslogtreecommitdiff
path: root/modules/cons
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2015-07-18 15:17:07 +0200
committerAlfred E. Heggestad <aeh@db.org>2015-07-18 15:17:07 +0200
commit2076043d899a575c524a9c7132226d4461836aaf (patch)
tree743d3d5e819b34d59c6eefe9d8e4b768ab1105a7 /modules/cons
parentefe5804871d465c5ad5ade414a399fb37d5658a8 (diff)
win32 porting (VC2010)
https://github.com/alfredh/baresip/pull/52 original patch by Victor Sergienko - the copy of windows .h header files was not included
Diffstat (limited to 'modules/cons')
-rw-r--r--modules/cons/cons.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/cons/cons.c b/modules/cons/cons.c
index d5e78ca..89ce028 100644
--- a/modules/cons/cons.c
+++ b/modules/cons/cons.c
@@ -213,8 +213,9 @@ static int output_handler(const char *str)
static struct ui ui_cons = {
- .name = "cons",
- .outputh = output_handler
+ LE_INIT,
+ "cons",
+ output_handler
};