From 7b58a8fb0b95d6809fbe3e8c7dc7a05729b6c828 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Fri, 29 Oct 2004 09:27:02 +0000 Subject: added hoption feature --- nanohttp/nanohttp-server.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'nanohttp/nanohttp-server.c') diff --git a/nanohttp/nanohttp-server.c b/nanohttp/nanohttp-server.c index 71dbba7..566a760 100644 --- a/nanohttp/nanohttp-server.c +++ b/nanohttp/nanohttp-server.c @@ -1,5 +1,5 @@ /****************************************************************** -* $Id: nanohttp-server.c,v 1.28 2004/10/28 10:30:46 snowdrop Exp $ +* $Id: nanohttp-server.c,v 1.29 2004/10/29 09:27:05 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -99,7 +99,10 @@ httpd_init (int argc, char *argv[]) { int i; herror_t status; - status = hsocket_module_init (); + + hoption_init_args(argc, argv); + + status = hsocket_module_init (); if (status != H_OK) return status; -- cgit v1.1-32-gdbae