summaryrefslogtreecommitdiff
path: root/gatchat/gatresult.h
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/gatresult.h')
-rw-r--r--gatchat/gatresult.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gatchat/gatresult.h b/gatchat/gatresult.h
index cbe6d050..fc4c123c 100644
--- a/gatchat/gatresult.h
+++ b/gatchat/gatresult.h
@@ -33,10 +33,12 @@ struct _GAtResult {
typedef struct _GAtResult GAtResult;
+#define G_AT_RESULT_LINE_LENGTH_MAX 2048
+
struct _GAtResultIter {
GAtResult *result;
GSList *l;
- char buf[2048];
+ char buf[G_AT_RESULT_LINE_LENGTH_MAX + 1];
unsigned int line_pos;
GSList pre;
};