Commit 7272bb6c7e96e3a2ada3f92802d4f8b7c7c23fa4

Authored by Georg Hopp
1 parent fb4812ed

adapt to fixed PARENTCALL

... ... @@ -44,7 +44,7 @@ httpRequestCtor(void * _this, va_list * params)
44 44 uri = va_arg(* params, char *);
45 45 ulen = va_arg(* params, size_t);
46 46
47   - TR_PARENTCALL(_this, TR_Class, ctor, params);
  47 + TR_PARENTCALL(HttpRequest, _this, TR_Class, ctor, params);
48 48
49 49 this->method = TR_malloc(mlen + 1);
50 50 this->method[mlen] = 0;
... ... @@ -61,7 +61,7 @@ httpRequestCtor(void * _this, va_list * params)
61 61 TR_MEM_FREE(this->method);
62 62 TR_MEM_FREE(this->path); /** \todo looks like path is not used at all */
63 63
64   - TR_PARENTCALL(_this, TR_Class, dtor);
  64 + TR_PARENTCALL(HttpRequest, _this, TR_Class, dtor);
65 65
66 66 return -1;
67 67 }
... ... @@ -87,7 +87,7 @@ httpRequestDtor(void * _this)
87 87 TR_MEM_FREE(this->method);
88 88 TR_MEM_FREE(this->path);
89 89
90   - TR_PARENTCALL(_this, TR_Class, dtor);
  90 + TR_PARENTCALL(HttpRequest, _this, TR_Class, dtor);
91 91 }
92 92
93 93 static
... ...
... ... @@ -38,7 +38,7 @@ httpResponseCtor(void * _this, va_list * params)
38 38 HttpResponse this = _this;
39 39 char * reason;
40 40
41   - TR_PARENTCALL(_this, TR_Class, ctor, params);
  41 + TR_PARENTCALL(TR_Response, _this, TR_Class, ctor, params);
42 42
43 43 this->status = va_arg(* params, unsigned int);
44 44 reason = va_arg(* params, char *);
... ... @@ -57,7 +57,7 @@ httpResponseDtor(void * _this)
57 57
58 58 TR_MEM_FREE(this->reason);
59 59
60   - TR_PARENTCALL(_this, TR_Class, dtor);
  60 + TR_PARENTCALL(TR_Response, _this, TR_Class, dtor);
61 61 }
62 62
63 63 static
... ...
Please register or login to post a comment