Skip to content

Commit

Permalink
Merge pull request #22 from vorot93/patch-1
Browse files Browse the repository at this point in the history
Make get_messages request valid XML
  • Loading branch information
suleman1971 authored Aug 30, 2017
2 parents 3ac1af3 + a7cdf21 commit dbbbc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/srvdata.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -365,7 +365,7 @@ void Srv::updatemsgs() //обновить сообщения
msgno = lastmsgno; //запрашиваем начиная с последнего отображенного
else
msgno = 0; //начинаем с первого
snprintf(req2,sizeof(req2),"<get_messages>\n<seqno>%d</seqno>\n",msgno);
snprintf(req2,sizeof(req2),"<get_messages>\n<seqno>%d</seqno>\n</get_messages>\n",msgno);
Item* domtree = req(req2);
if (domtree == NULL)
return;
Expand Down

0 comments on commit dbbbc94

Please sign in to comment.