mirror of
git://git.psyc.eu/libpsyc
synced 2024-08-15 03:19:02 +00:00
uniform struct
This commit is contained in:
parent
60a59f246a
commit
825a383772
3 changed files with 102 additions and 87 deletions
|
@ -11,16 +11,16 @@ testUniform(char *str, int ret) {
|
|||
int r = psyc_parseUniform2(uni, str, strlen(str));
|
||||
|
||||
PP(("[%.*s] : [%.*s] [%.*s] : [%.*s] [%.*s] / [%.*s] # [%.*s]\n[%.*s] [%.*s]\n[%.*s]\n\n",
|
||||
(int)PSYC_S2ARG2((*uni)[PSYC_UNIFORM_SCHEME]),
|
||||
(int)PSYC_S2ARG2((*uni)[PSYC_UNIFORM_SLASHES]),
|
||||
(int)PSYC_S2ARG2((*uni)[PSYC_UNIFORM_HOST]),
|
||||
(int)PSYC_S2ARG2((*uni)[PSYC_UNIFORM_PORT]),
|
||||
(int)PSYC_S2ARG2((*uni)[PSYC_UNIFORM_TRANSPORT]),
|
||||
(int)PSYC_S2ARG2((*uni)[PSYC_UNIFORM_RESOURCE]),
|
||||
(int)PSYC_S2ARG2((*uni)[PSYC_UNIFORM_CHANNEL]),
|
||||
(int)PSYC_S2ARG2((*uni)[PSYC_UNIFORM_ROOT]),
|
||||
(int)PSYC_S2ARG2((*uni)[PSYC_UNIFORM_NICK]),
|
||||
(int)PSYC_S2ARG2((*uni)[PSYC_UNIFORM_BODY])));
|
||||
(int)PSYC_S2ARG2(uni->scheme),
|
||||
(int)PSYC_S2ARG2(uni->slashes),
|
||||
(int)PSYC_S2ARG2(uni->host),
|
||||
(int)PSYC_S2ARG2(uni->port),
|
||||
(int)PSYC_S2ARG2(uni->transport),
|
||||
(int)PSYC_S2ARG2(uni->resource),
|
||||
(int)PSYC_S2ARG2(uni->channel),
|
||||
(int)PSYC_S2ARG2(uni->root),
|
||||
(int)PSYC_S2ARG2(uni->nick),
|
||||
(int)PSYC_S2ARG2(uni->body)));
|
||||
|
||||
free(uni);
|
||||
if (r != ret) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue