On Wed, 13.04.11 20:21, Kurt H Maier ([email protected]) wrote:

> 
> index bd55e65..ce902ef 100644
> --- a/src/reply-password.c
> +++ b/src/reply-password.c
> @@ -82,6 +82,7 @@ int main(int argc, char *argv[]) {
>                  }
> 
>                  truncate_nl(packet+1);
> +               /* prefix + packet string + NUL in this order */
>                  length = 1 + strlen(packet+1) + 1;
>          } else if (streq(argv[1], "0")) {
>                  packet[0] = '-';

Nah, no additional comment necessary. The line is documenting itself,
that's why I put it like this.

Lennart

-- 
Lennart Poettering - Red Hat, Inc.
_______________________________________________
systemd-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/systemd-devel

Reply via email to