[2749] in BarnOwl Developers
Re: [PATCH] webzephyr principal changed
daemon@ATHENA.MIT.EDU (David A Benjamin)
Sun Nov 7 01:47:12 2010
Date: Sun, 7 Nov 2010 01:47:09 -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: <1288902227-2242-1-git-send-email-asedeno@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-1059292407-1289112429=:15631
Content-Type: TEXT/PLAIN; charset=UTF-8; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE
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(-)
>
> 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"),
>
> - OWLCMD_ALIAS("webzephyr", "zwrite daemon.webzephyr -c webzephyr -i"),
> + OWLCMD_ALIAS("webzephyr", "zwrite " OWL_WEBZEPHYR_PRINCIPAL " -c " OWL=
_WEBZEPHYR_CLASS " -i"),
>
> /* This line MUST be last! */
> { NULL, NULL, NULL, NULL, 0, NULL, NULL, NULL, NULL, NULL, NULL, NULL, =
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;
>
> #define OWL_CMD_ALIAS_SUMMARY_PREFIX "command alias to: "
>
> -#define OWL_WEBZEPHYR_PRINCIPAL "daemon.webzephyr"
> +#define OWL_WEBZEPHYR_PRINCIPAL "daemon/webzephyr.mit.edu"
> #define OWL_WEBZEPHYR_CLASS "webzephyr"
> #define OWL_WEBZEPHYR_OPCODE "webzephyr"
>
> diff --git a/perl/lib/BarnOwl/Message/Zephyr.pm b/perl/lib/BarnOwl/Messag=
e/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;
>
> package BarnOwl::Message::Zephyr;
>
> -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";
>
> 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)
> }
>
> /* 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
>
>
---1257051904-1059292407-1289112429=:15631--