Commit 68bd42e389c497df4c5935eca394bee3875a84dd
1 parent
0de90228
fix pass of variable argument list
Showing
1 changed file
with
2 additions
and
2 deletions
@@ -48,7 +48,7 @@ TR_protoCreateRequest(void * _this, TR_Socket remote, ...) | @@ -48,7 +48,7 @@ TR_protoCreateRequest(void * _this, TR_Socket remote, ...) | ||
48 | va_list params; | 48 | va_list params; |
49 | 49 | ||
50 | va_start(params, remote); | 50 | va_start(params, remote); |
51 | - TR_RETCALL(_this, TR_Protocol, createRequest, callret, params); | 51 | + TR_RETCALL(_this, TR_Protocol, createRequest, callret, ¶ms); |
52 | if (callret != NULL) { | 52 | if (callret != NULL) { |
53 | callret->remote = remote; | 53 | callret->remote = remote; |
54 | } | 54 | } |
@@ -64,7 +64,7 @@ TR_protoCreateResponse(void * _this, TR_Socket remote, ...) | @@ -64,7 +64,7 @@ TR_protoCreateResponse(void * _this, TR_Socket remote, ...) | ||
64 | va_list params; | 64 | va_list params; |
65 | 65 | ||
66 | va_start(params, remote); | 66 | va_start(params, remote); |
67 | - TR_RETCALL(_this, TR_Protocol, createResponse, callret, params); | 67 | + TR_RETCALL(_this, TR_Protocol, createResponse, callret, ¶ms); |
68 | if (callret != NULL) { | 68 | if (callret != NULL) { |
69 | callret->remote = remote; | 69 | callret->remote = remote; |
70 | } | 70 | } |
Please
register
or
login
to post a comment