diff options
Diffstat (limited to 'src/ivcall.c')
-rw-r--r-- | src/ivcall.c | 11 |
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; |