From 3120d2fecb926fedc4db4d44ff7df025b14355d4 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 10 Jan 2004 22:41:31 +0000 Subject: many fixes git-svn-id: file:///home/lennart/svn/public/ivcall/trunk@13 e0b13411-74c3-0310-b366-a0654dd0340f --- src/ivcall.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src/ivcall.c') 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 #include #include @@ -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; -- cgit