OSDN Git Service

add debug print.
authorornse01 <ornse01@users.sourceforge.jp>
Sat, 21 Jan 2012 06:56:30 +0000 (06:56 +0000)
committerornse01 <ornse01@users.sourceforge.jp>
Sat, 21 Jan 2012 06:56:30 +0000 (06:56 +0000)
git-svn-id: http://svn.sourceforge.jp/svnroot/bchan/bchanf/trunk@355 20a0b8eb-f62a-4a12-8fe1-b598822500fb

src/http/http_connector.c

index 91dcd9b..e1f76e4 100644 (file)
@@ -267,11 +267,13 @@ EXPORT ID http_connector_createendpoint(http_connector_t *connector, UB *host, W
 
        id = http_reqdict_allocate(connector->dict, host, host_len, port);
        if (id < 0) {
+               DP_ER("http_reqdict_allocate", id);
                return id; /* TODO */
        }
 
        err = snd_mbf(connector->reqmbf, NULL, 0, T_FOREVER/* tmp */);
        if (err < 0) {
+               DP_ER("snd_mbf", err);
                http_reqdict_free(connector->dict, id);
                return err;
        }