blob: 65b3449e55409f16d50a3c961f4bf45d17d6680b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Index: gsm/src/gsmd/atcmd.c
===================================================================
--- gsm.orig/src/gsmd/atcmd.c 2007-07-31 11:44:51.000000000 +0200
+++ gsm/src/gsmd/atcmd.c 2007-07-31 11:45:09.000000000 +0200
@@ -171,13 +171,14 @@
return -1;
}
+static char mlbuf[MLPARSE_BUF_SIZE];
+static int mlbuf_len;
+
static int ml_parse(const char *buf, int len, void *ctx)
{
struct gsmd *g = ctx;
struct gsmd_atcmd *cmd = NULL;
- static char mlbuf[MLPARSE_BUF_SIZE];
int rc = 0, final = 0;
- int mlbuf_len;
DEBUGP("buf=`%s'(%d)\n", buf, len);
|