Mercurial > hg > freeDiameter
comparison libfdproto/messages.c @ 1099:6ce5c99a40af
Fix some typos.
author | Thomas Klausner <tk@giga.or.at> |
---|---|
date | Wed, 08 May 2013 14:40:20 +0200 |
parents | 97a257c80de0 |
children | 40b48a3997a2 |
comparison
equal
deleted
inserted
replaced
1097:4d2dcb54d9a6 | 1099:6ce5c99a40af |
---|---|
1248 CHECK_PARAMS( CHECK_MSG(msg) ); | 1248 CHECK_PARAMS( CHECK_MSG(msg) ); |
1249 | 1249 |
1250 if (! (msg->msg_public.msg_flags & CMD_FLAG_REQUEST )) | 1250 if (! (msg->msg_public.msg_flags & CMD_FLAG_REQUEST )) |
1251 return anscb ? EINVAL : 0; /* we associate with requests only */ | 1251 return anscb ? EINVAL : 0; /* we associate with requests only */ |
1252 | 1252 |
1253 CHECK_PARAMS( (anscb == NULL) || (msg->msg_cb.anscb == NULL) ); /* We are not overwritting a cb */ | 1253 CHECK_PARAMS( (anscb == NULL) || (msg->msg_cb.anscb == NULL) ); /* We are not overwriting a cb */ |
1254 CHECK_PARAMS( (expirecb == NULL) || (msg->msg_cb.expirecb == NULL) ); /* We are not overwritting a cb */ | 1254 CHECK_PARAMS( (expirecb == NULL) || (msg->msg_cb.expirecb == NULL) ); /* We are not overwriting a cb */ |
1255 | 1255 |
1256 /* Associate callback and data with the message, if any */ | 1256 /* Associate callback and data with the message, if any */ |
1257 msg->msg_cb.anscb = anscb; | 1257 msg->msg_cb.anscb = anscb; |
1258 msg->msg_cb.expirecb = expirecb; | 1258 msg->msg_cb.expirecb = expirecb; |
1259 msg->msg_cb.data = data; | 1259 msg->msg_cb.data = data; |