summaryrefslogtreecommitdiffstats
path: root/packaging
diff options
context:
space:
mode:
authorGravatar Lubomir I. Ivanov <neolit123@gmail.com>2013-01-18 19:52:25 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-01-18 10:07:17 -0800
commit9fa6b224f75e4c99fc8ab2c68309319150b7164f (patch)
treea1ae5395a3b01df6998aeecb46db77e550508673 /packaging
parent334e51988da0bcb6f55fd86bc503255275056d5a (diff)
downloadsubsurface-9fa6b224f75e4c99fc8ab2c68309319150b7164f.tar.gz
Fixed some small issues in webservice.c
1) download_dialog_status_text() had some statements with no effect due to missing return keywords. This fixes incorrect error reporting. 2) Optimize the traversion of the response XML. Assuming that the status tag should be always under the root tag. We check if the root tag has children and enter a loop until we find a the "download" or "error" node names. If there are no children we return a parser error. 3) Clamp the number of input characters to 30 in the user id GtkEntry field. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'packaging')
0 files changed, 0 insertions, 0 deletions