Ignore:
Timestamp:
Dec 12, 2015, 4:08:53 PM (9 years ago)
Author:
alloc
Message:

Fixes 6_8_10

File:
1 edited

Legend:

Unmodified
Added
Removed
  • binary-improvements/MapRendering/Web/API/GetLog.cs

    r250 r253  
    1515                        }
    1616
    17                         if (req.QueryString ["lastLine"] == null || !int.TryParse (req.QueryString ["lastLine"], out lastLine)) {
    18                                 lastLine = -1;
    19                         }
    20 
    2117                        JSONObject result = new JSONObject ();
    2218
    23                         List<LogBuffer.LogEntry> logEntries = LogBuffer.Instance.GetRange (ref firstLine, ref lastLine);
     19                        List<LogBuffer.LogEntry> logEntries = LogBuffer.Instance.GetRange (ref firstLine, 50, out lastLine);
    2420
    2521                        JSONArray entries = new JSONArray ();
Note: See TracChangeset for help on using the changeset viewer.