[2750] in BarnOwl Developers
Re: [PATCH] webzephyr principal changed
daemon@ATHENA.MIT.EDU (David A Benjamin)
Sun Nov 7 01:55:49 2010
Date: Sun, 7 Nov 2010 01:55:47 -0500 (EST)
From: David A Benjamin <davidben@MIT.EDU>
To: =?ISO-8859-15?Q?Alejandro_R=2E_Sede=F1o?= <asedeno@mit.edu>
cc: barnowl-dev@mit.edu
In-Reply-To: <alpine.DEB.1.10.1011070147050.15631@dr-wily.mit.edu>
This message is in MIME format. The first part should be readable text,
while the remaining parts are likely unreadable without MIME-aware tools.
---1257051904-1904000565-1289112947=:15631
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
Oh, does the instance in perl/lib/BarnOwl/Message/Zephyr.pm also want to=20
change?
David
On Sun, 7 Nov 2010, David A Benjamin wrote:
> LGTM
>
> On Thu, 4 Nov 2010, Alejandro R. Sede=C3=B1o wrote:
>
>> Signed-off-by: Alejandro R. Sede=C3=B1o <asedeno@mit.edu>
>> ---
>> commands.c | 2 +-
>> owl.h | 2 +-
>> perl/lib/BarnOwl/Message/Zephyr.pm | 2 +-
>> zephyr.c | 4 ++--
>> 4 files changed, 5 insertions(+), 5 deletions(-)
>>=20
>> diff --git a/commands.c b/commands.c
>> index 5cbe262..f1c246a 100644
>> --- a/commands.c
>> +++ b/commands.c
>> @@ -1021,7 +1021,7 @@ const owl_cmd commands_to_init[]
>> =09=09 "-r is used, the search will be performed backwards.\n\n"
>> "SEE ALSO: popless:search"),
>>=20
>> - OWLCMD_ALIAS("webzephyr", "zwrite daemon.webzephyr -c webzephyr -i"),
>> + OWLCMD_ALIAS("webzephyr", "zwrite " OWL_WEBZEPHYR_PRINCIPAL " -c "=20
>> OWL_WEBZEPHYR_CLASS " -i"),
>>
>> /* This line MUST be last! */
>> { NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL,=
=20
>> NULL }
>> diff --git a/owl.h b/owl.h
>> index 3685a79..b67cd1a 100644
>> --- a/owl.h
>> +++ b/owl.h
>> @@ -197,7 +197,7 @@ typedef void HV;
>>=20
>> #define OWL_CMD_ALIAS_SUMMARY_PREFIX "command alias to: "
>>=20
>> -#define OWL_WEBZEPHYR_PRINCIPAL "daemon.webzephyr"
>> +#define OWL_WEBZEPHYR_PRINCIPAL "daemon/webzephyr.mit.edu"
>> #define OWL_WEBZEPHYR_CLASS "webzephyr"
>> #define OWL_WEBZEPHYR_OPCODE "webzephyr"
>>=20
>> diff --git a/perl/lib/BarnOwl/Message/Zephyr.pm=20
>> b/perl/lib/BarnOwl/Message/Zephyr.pm
>> index b2b4ad5..83fabba 100644
>> --- a/perl/lib/BarnOwl/Message/Zephyr.pm
>> +++ b/perl/lib/BarnOwl/Message/Zephyr.pm
>> @@ -3,7 +3,7 @@ use warnings;
>>=20
>> package BarnOwl::Message::Zephyr;
>>=20
>> -use constant WEBZEPHYR_PRINCIPAL =3D> "daemon.webzephyr";
>> +use constant WEBZEPHYR_PRINCIPAL =3D> "daemon/webzephyr.mit.edu";
>> use constant WEBZEPHYR_CLASS =3D> "webzephyr";
>> use constant WEBZEPHYR_OPCODE =3D> "webzephyr";
>>=20
>> diff --git a/zephyr.c b/zephyr.c
>> index 1121caf..c50ee66 100644
>> --- a/zephyr.c
>> +++ b/zephyr.c
>> @@ -1229,8 +1229,8 @@ char *long_zuser(const char *in)
>> }
>>=20
>> /* strip out the instance from a zsender's principal. Preserves the
>> - * realm if present. daemon.webzephyr is a special case. The
>> - * caller must free the return
>> + * realm if present. daemon/webzephyr.mit.edu is a special case.
>> + * The caller must free the return.
>> */
>> char *owl_zephyr_smartstripped_user(const char *in)
>> {
>> --=20
>> 1.7.3.2
>>=20
>
---1257051904-1904000565-1289112947=:15631--