summaryrefslogtreecommitdiffstats
path: root/src/ivcall.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2004-01-10 22:41:31 +0000
committerLennart Poettering <lennart@poettering.net>2004-01-10 22:41:31 +0000
commit3120d2fecb926fedc4db4d44ff7df025b14355d4 (patch)
treed7f547c63c4c4520737349ecca70711cebf07003 /src/ivcall.c
parent4ae33cd61ac9b003f252b41424a0c292f3eb613d (diff)
many fixes
git-svn-id: file:///home/lennart/svn/public/ivcall/trunk@13 e0b13411-74c3-0310-b366-a0654dd0340f
Diffstat (limited to 'src/ivcall.c')
-rw-r--r--src/ivcall.c11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/ivcall.c b/src/ivcall.c
index 7e953f9..5aca741 100644
--- a/src/ivcall.c
+++ b/src/ivcall.c
@@ -18,6 +18,10 @@
* Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
+
#include <termios.h>
#include <fcntl.h>
#include <stdlib.h>
@@ -38,11 +42,6 @@
#include "util.h"
#include "lock.h"
-#ifdef HAVE_CONFIG_H
-#include "config.h"
-#endif
-
-
// Those nifty DLE-sequences
#define DLE 0x10
#define ETX 0x03
@@ -392,7 +391,7 @@ int go(void) {
goto fail;
}
- snprintf(buf, sizeof(buf), "AT&E%s\n", source_msn);
+ snprintf(buf, sizeof(buf), "AT&L%s\n", source_msn);
if (tty_command(fd, buf, "OK\r\n", COMMAND_TIMEOUT) < 0) {
fprintf(stderr, "Initialisation failure.\n");
goto fail;