Skip to content

Commit

Permalink
v1.2.4 Bug Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mrWheel committed Apr 11, 2020
1 parent 30b1107 commit 20122af
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion DSMRloggerAPI.ino
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
***************************************************************************
** Program : DSMRloggerAPI (restAPI)
*/
#define _FW_VERSION "v1.2.3 (08-04-2020)"
#define _FW_VERSION "v1.2.4 (11-04-2020)"
/*
** Copyright (c) 2020 Willem Aandewiel
**
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ Documentation can be found [here](https://mrwheel-docs.gitbook.io/dsmrloggerapi/
<table>
<tr><th>Versie</th><th>Opmerking</th></tr>
<tr>
<td valign="top">1.2.4</td>
<td>Bug Fixes
</td>
</tr>
<td valign="top">1.2.1</td>
<td>Third Official Release
<br>Instelling SM_HAS_NO_FASE_INFO nu via settings
Expand Down
5 changes: 3 additions & 2 deletions restAPI.ino
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*
***************************************************************************
** Program : restAPI, part of DSMRloggerAPI
** Version : v1.2.1
** Version : v1.2.4
**
** Copyright (c) 2020 Willem Aandewiel
**
Expand Down Expand Up @@ -39,9 +39,10 @@ bool onlyIfPresent = false;
void processAPI()
{
char fName[40] = "";
char URI[50] = "";
String words[10];

char *URI = (char*)httpServer.uri().c_str();
strncpy( URI, httpServer.uri().c_str(), sizeof(URI) );

if (httpServer.method() == HTTP_GET)
DebugTf("from[%s] URI[%s] method[GET] \r\n"
Expand Down

0 comments on commit 20122af

Please sign in to comment.