Changeset 1f9edc74e34a100b1e519135ef7e2d7e774cd605

Show
Ignore:
Timestamp:
03/14/12 21:10:28 (3 years ago)
Author:
Theo Schlossnagle <jesus@omniti.com>
git-committer:
Theo Schlossnagle <jesus@omniti.com> 1331759428 -0400
git-parent:

[3de78ae6b819653d9651f0061e1b54f9f68339ea]

git-author:
Theo Schlossnagle <jesus@omniti.com> 1331759428 -0400
Message:

bug in error output for lua failures

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/modules/lua.c

    r7a237a2 r1f9edc7  
    708708          if(nerr) noitL(nldeb, "nerr -> %s\n", nerr); 
    709709          if(nerr && *nerr == 31) nerr = NULL; // 31? WTF lua? 
    710           if(!nerr && err) { 
     710          if(err) { 
    711711            nerr = strchr(err, ' '); /* advance past the file */ 
    712712            if(nerr) nerr += 1;