Index: apps/app_sms.c =================================================================== --- apps/app_sms.c (revision 399870) +++ apps/app_sms.c (working copy) @@ -777,7 +777,9 @@ if (o >= 0) { char line[1000], mrs[3] = "", *p; char buf[30]; +#ifndef SMS_LOG_NO_CONTENT unsigned char n; +#endif if (h->mr >= 0) { snprintf(mrs, sizeof(mrs), "%02X", h->mr); @@ -787,6 +789,9 @@ status, h->rx ? 'I' : 'O', h->smsc ? 'S' : 'M', mrs, h->queue, S_OR(h->oa, "-"), S_OR(h->da, "-") ); p = line + strlen(line); +#ifdef SMS_LOG_NO_CONTENT + p += snprintf(p, sizeof(line) - strlen(line), "udl=%d", h->udl); +#else for (n = 0; n < h->udl; n++) { if (h->ud[n] == '\\') { *p++ = '\\'; @@ -803,6 +808,7 @@ *p++ = h->ud[n]; } } +#endif *p++ = '\n'; *p = 0; if (write(o, line, strlen(line)) < 0) { Index: build_tools/cflags.xml =================================================================== --- build_tools/cflags.xml (revision 399870) +++ build_tools/cflags.xml (working copy) @@ -95,4 +95,8 @@ yes native_arch + + no + extended + Index: menuselect/test/menuselect-tree =================================================================== --- menuselect/test/menuselect-tree (revision 1126) +++ menuselect/test/menuselect-tree (working copy) @@ -582,6 +582,9 @@ + + app_sms +