From 05cb2b9c62b323a1278c81b6cbe00b2e4186b4f4 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Thu, 18 Mar 2010 10:10:32 +0100 Subject: Fix lots of warnings, most around string literals... ...that were converted to char* when they should have been converted to const char *. Use braces for empty if/else statements. --- opie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'opie.c') diff --git a/opie.c b/opie.c index 395de2dd..94fd59b4 100644 --- a/opie.c +++ b/opie.c @@ -26,7 +26,7 @@ extern "C" { } #endif -int do_otp(int sock, char *command, struct query *ctl) +int do_otp(int sock, const char *command, struct query *ctl) { int i, rval; char buffer[128]; -- cgit v1.2.3