Rev 12240 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 12240 | Rev 13381 | ||
---|---|---|---|
Line 46... | Line 46... | ||
46 | c=itemnum(lbuf); |
46 | c=itemnum(lbuf); |
47 | } |
47 | } |
48 | else { |
48 | else { |
49 | if(strlen(obuf)+strlen(lbuf)>=MAX_LINELEN-1) |
49 | if(strlen(obuf)+strlen(lbuf)>=MAX_LINELEN-1) |
50 | user_error("cmd_output_too_long"); |
50 | user_error("cmd_output_too_long"); |
51 |
|
51 | if(c!=itemnum(lbuf)) { |
52 |
|
52 | force_setvar("wims_warn_rawmatrix","inconsistent_columns"); |
53 |
|
53 | return; |
54 | } |
- | |
55 | snprintf(obuf+strlen(obuf),sizeof(obuf)-strlen(obuf), |
- | |
56 | "\n%s",lbuf); |
- | |
57 | } |
54 | } |
- | 55 | snprintf(obuf+strlen(obuf),sizeof(obuf)-strlen(obuf), |
|
- | 56 | "\n%s",lbuf); |
|
- | 57 | } |
|
58 | } |
58 | } |
59 | ovlstrcpy(p,obuf); |
59 | ovlstrcpy(p,obuf); |
60 | } |
60 | } |