diff options
author | geronimo <geronimo013@gmx.de> | 2012-07-30 17:51:05 +0200 |
---|---|---|
committer | geronimo <geronimo013@gmx.de> | 2012-07-30 17:51:05 +0200 |
commit | ad667186c0c45cfca9d3f153faec7ce35545b238 (patch) | |
tree | db5ab8a2bb22c418bc8a233db3c4955ed16957c5 /libs/networking/src | |
parent | 41922cdaf9c8db57c6b51f090eefe95b0008a0fb (diff) | |
download | cmp-ad667186c0c45cfca9d3f153faec7ce35545b238.tar.gz cmp-ad667186c0c45cfca9d3f153faec7ce35545b238.tar.bz2 |
created more readers
Diffstat (limited to 'libs/networking/src')
-rw-r--r-- | libs/networking/src/ServerConfig.cc | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/networking/src/ServerConfig.cc b/libs/networking/src/ServerConfig.cc index fec6107..8fb7f0f 100644 --- a/libs/networking/src/ServerConfig.cc +++ b/libs/networking/src/ServerConfig.cc @@ -1,25 +1,25 @@ /** * ======================== legal notice ====================== - * + * * File: ServerConfig.cc * Created: 8. Juli 2012, 06 * Author: <a href="mailto:geronimo013@gmx.de">Geronimo</a> * Project: libnetworking: classes for tcp/ip sockets and http-protocol handling - * + * * CMP - compound media player - * + * * is a client/server mediaplayer intended to play any media from any workstation * without the need to export or mount shares. cmps is an easy to use backend * with a (ready to use) HTML-interface. Additionally the backend supports * authentication via HTTP-digest authorization. * cmpc is a client with vdr-like osd-menues. - * + * * Copyright (c) 2012 Reinhard Mantey, some rights reserved! * published under Creative Commons by-sa * For details see http://creativecommons.org/licenses/by-sa/3.0/ - * + * * The cmp project's homepage is at http://projects.vdr-developer.org/projects/cmp - * + * * -------------------------------------------------------------- */ #include <ServerConfig.h> @@ -120,7 +120,7 @@ int cServerConfig::Load(const char* FileName) cConfigReader::ConfigEntry *ce; int numberOfEntries = 0; - while ((ce = cr->ReadValue())) { + while ((ce = cr->ReadEntry())) { std::string name = std::get<0>(*ce); if (!strcmp("media-root", name.c_str())) { |