From 9216b332b45bce65fdbaec3c8df0b29877e3371c Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Wed, 5 Jun 2013 00:03:35 +0200 Subject: 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 --- ax25rtd/config.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'ax25rtd/config.c') 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); -- cgit v1.2.3