diff options
author | jcid <devnull@localhost> | 2008-05-16 18:48:58 +0200 |
---|---|---|
committer | jcid <devnull@localhost> | 2008-05-16 18:48:58 +0200 |
commit | 2ad6948b8326ac5d6aa671027d65348c0c6c33c7 (patch) | |
tree | 2d5d1539b9df43f7d1cff62ef7419789a5a0241b /dpi/downloads.cc | |
parent | d44ef978ff96788e6ab9c30f0621e9e1f3418265 (diff) |
- FTP dpi: Fixed algorithm bugs and improved the mime-type detector.
Diffstat (limited to 'dpi/downloads.cc')
-rw-r--r-- | dpi/downloads.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/dpi/downloads.cc b/dpi/downloads.cc index b9c89941..d35f6f25 100644 --- a/dpi/downloads.cc +++ b/dpi/downloads.cc @@ -899,7 +899,7 @@ static void read_req_cb(int req_fd, void *) _MSG("Received tag={%s}\n", tag->str); if ((cmd = a_Dpip_get_attr(tag->str, (size_t)tag->len, "cmd")) == NULL) { - MSG("Failed to parse 'cmd' in %s\n", tag->str); + MSG("Failed to parse 'cmd' in {%s}\n", tag->str); goto end; } if (strcmp(cmd, "DpiBye") == 0) { @@ -911,11 +911,11 @@ static void read_req_cb(int req_fd, void *) goto end; } if (!(url = a_Dpip_get_attr(tag->str,(size_t)tag->len, "url"))){ - MSG("Failed to parse 'url' in %s\n", tag->str); + MSG("Failed to parse 'url' in {%s}\n", tag->str); goto end; } if (!(dl_dest = a_Dpip_get_attr(tag->str,(size_t)tag->len,"destination"))){ - MSG("Failed to parse 'destination' in %s\n", tag->str); + MSG("Failed to parse 'destination' in {%s}\n", tag->str); goto end; } /* 'dl_dest' may be a directory */ |