]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
ftmod_libpri: Minor cleanups.
authorStefan Knoblich <s.knoblich@axsentis.de>
Mon, 8 Nov 2010 19:57:21 +0000 (20:57 +0100)
committerStefan Knoblich <s.knoblich@axsentis.de>
Mon, 8 Nov 2010 19:57:21 +0000 (20:57 +0100)
Signed-off-by: Stefan Knoblich <s.knoblich@axsentis.de>
libs/freetdm/src/ftmod/ftmod_libpri/lpwrap_pri.c

index 317c9a5428a9fdad9d85aef33c0da6a367143027..de4fa2b23220fac07df36356be9f6f84e38bd757 100644 (file)
@@ -35,8 +35,8 @@
 
 #include "private/ftdm_core.h"
 #include "lpwrap_pri.h"
-#ifndef HAVE_GETTIMEOFDAY
 
+#ifndef HAVE_GETTIMEOFDAY
 #ifdef WIN32
 #include <mmsystem.h>
 
@@ -239,8 +239,8 @@ int lpwrap_init_bri(struct lpwrap_pri *spri, ftdm_span_t *span, ftdm_channel_t *
 int lpwrap_one_loop(struct lpwrap_pri *spri)
 {
        fd_set rfds, efds;
-       struct timeval now = {0,0}, *next;
-       pri_event *event;
+       struct timeval now = {0,0}, *next = NULL;
+       pri_event *event = NULL;
        event_handler handler;
        int sel;