Skip to content

Commit

Permalink
Merge pull request #125 from torikulhabib/master
Browse files Browse the repository at this point in the history
release
  • Loading branch information
torikulhabib authored Feb 16, 2022
2 parents 9479880 + e58a4c4 commit 90eab91
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions data/com.github.gabutakut.gabutdm.appdata.xml.in
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,12 @@
<binary>com.github.gabutakut.gabutdm</binary>
</provides>
​ <releases>
<release version="1.7.3" date="2022-2-16">
<description>
<p>Modebutton to Radiobutton</p>
<p>Open tracker list</p>
</description>
</release>
<release version="1.7.2" date="2022-2-1">
<description>
<p>Dbus Menu</p>
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project ('com.github.gabutakut.gabutdm','vala', 'c', version: '1.7.2')
project ('com.github.gabutakut.gabutdm','vala', 'c', version: '1.7.3')

i18n = import ('i18n')

Expand Down
4 changes: 2 additions & 2 deletions src/GabutServer.vala
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ namespace Gabut {
self.pause_message (msg);
if (msg.method == "POST") {
try {
if (msg.request_headers.get_content_type (null) == "multipart/form-data") {
if (msg.request_headers.get_content_type (null) == Soup.FORM_MIME_TYPE_MULTIPART) {
var multipart = new Soup.Multipart.from_message (msg.request_headers , msg.request_body);
Soup.MessageHeaders headers;
unowned Soup.Buffer body;
Expand Down Expand Up @@ -156,7 +156,7 @@ namespace Gabut {
}
}
msg.set_status_full (200, "OK");
} else if (msg.request_headers.get_content_type (null) == "multipart/form-data") {
} else if (msg.request_headers.get_content_type (null) == Soup.FORM_MIME_TYPE_MULTIPART) {
var multipart = new Soup.Multipart.from_message (msg.request_headers , msg.request_body);
Soup.MessageHeaders headers;
unowned Soup.Buffer body;
Expand Down

0 comments on commit 90eab91

Please sign in to comment.