projects
/
lcr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Incremented version number of lcr in develop branch.
[lcr.git]
/
main.c
diff --git
a/main.c
b/main.c
index
98be1c0
..
b9e836c
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-364,7
+364,7
@@
int main(int argc, char *argv[])
}
#if defined WITH_GSM_BS || defined WITH_GSM_MS
}
#if defined WITH_GSM_BS || defined WITH_GSM_MS
- /*
handle
gsm */
+ /*
init
gsm */
if (options.gsm && gsm_init()) {
fprintf(stderr, "GSM initialization failed.\n");
goto free;
if (options.gsm && gsm_init()) {
fprintf(stderr, "GSM initialization failed.\n");
goto free;
@@
-469,10
+469,6
@@
int main(int argc, char *argv[])
if (options.gsm) {
if (handle_gsm())
all_idle = 0;
if (options.gsm) {
if (handle_gsm())
all_idle = 0;
-#ifdef WITH_GSM_BS
- if (handle_gsm_bs())
- all_idle = 0;
-#endif
#ifdef WITH_GSM_MS
if (handle_gsm_ms())
all_idle = 0;
#ifdef WITH_GSM_MS
if (handle_gsm_ms())
all_idle = 0;
@@
-602,6
+598,10
@@
free:
#endif
}
#endif
}
+ /* close loopback, if used by GSM or remote */
+ if (mISDNloop.sock > -1)
+ mISDNloop_close();
+
/* display memory leak */
#define MEMCHECK(a, b) \
if (b) { \
/* display memory leak */
#define MEMCHECK(a, b) \
if (b) { \