aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/shot/e_mod_main.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2011-05-28 07:40:15 +0000
committerCarsten Haitzler <raster@rasterman.com>2011-05-28 07:40:15 +0000
commit7418b3cc9201315147b94dd65cb2134379a56d25 (patch)
tree7459d35c24852838f5bffffdd9ab87f01048c648 /src/modules/shot/e_mod_main.c
parente06af8360304fce2d08679551108ff6c36c3a554 (diff)
downloadenlightenment-7418b3cc9201315147b94dd65cb2134379a56d25.tar.gz
enlightenment-7418b3cc9201315147b94dd65cb2134379a56d25.tar.xz
enlightenment-7418b3cc9201315147b94dd65cb2134379a56d25.zip
print server error # right.
SVN revision: 59768
Diffstat (limited to 'src/modules/shot/e_mod_main.c')
-rw-r--r--src/modules/shot/e_mod_main.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/modules/shot/e_mod_main.c b/src/modules/shot/e_mod_main.c
index c27064999..2abb11338 100644
--- a/src/modules/shot/e_mod_main.c
+++ b/src/modules/shot/e_mod_main.c
@@ -297,9 +297,15 @@ _upload_data_cb(void *data __UNUSED__, int ev_type __UNUSED__, void *event)
if ((o_label) && (ev->size < 1024))
{
char *txt = alloca(ev->size + 1);
-
+
memcpy(txt, ev->data, ev->size);
txt[ev->size] = 0;
+/*
+ printf("GOT %i bytes: '%s'\n", ev->size, txt);
+ int i;
+ for (i = 0; i < ev->size; i++) printf("%02x.", ev->data[i]);
+ printf("\n");
+ */
if (!url_ret) url_ret = strdup(txt);
else
{
@@ -345,7 +351,7 @@ _upload_complete_cb(void *data __UNUSED__, int ev_type __UNUSED__, void *event)
{
e_util_dialog_show
(_("Error - Upload Failed"),
- _("Upload failed with status code:\n"
+ _("Upload failed with status code:<br>"
"%i"),
ev->status);
_share_done();