diff options
author | Ralf Baechle <ralf@linux-mips.org> | 2013-06-05 00:03:35 +0200 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 2013-06-05 00:46:08 +0200 |
commit | 9216b332b45bce65fdbaec3c8df0b29877e3371c (patch) | |
tree | 6b6a89063918314f15706c1aad9ec05e76a89cb5 /ax25rtd/config.c | |
parent | 17e2954171b6e5b53a2764031bfde79beae06bac (diff) |
Weed out all use of RCS strings.
Their value has always been dubious and git doesn't support them so let's
get rid of the clutter.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'ax25rtd/config.c')
-rw-r--r-- | ax25rtd/config.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/ax25rtd/config.c b/ax25rtd/config.c index e05cb95..abc40b3 100644 --- a/ax25rtd/config.c +++ b/ax25rtd/config.c @@ -1,5 +1,4 @@ -/* $Id: config.c,v 1.7 2009/06/27 22:30:23 ralf Exp $ - * +/* * Copyright (c) 1996 Joerg Reuter (jreuter@poboxes.com) * * This program is free software; you can redistribute it and/or modify @@ -670,8 +669,7 @@ void interpret_command(int fd, unsigned char *buf) } else if (!strcmp(cmd, "save")) { save_cache(); } else if (!strcmp(cmd, "version")) { - char buf[256]; - sprintf(buf, "%s\n", Version); + char buf[] = "ax25rtd version " VERSION "\n"; write(fd, buf, strlen(buf)); } else if (!strcmp(cmd, "quit")) { close(fd); |