diff options
author | lvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-10-08 06:41:32 +0000 |
---|---|---|
committer | lvw <lvw@e10066b5-e1e2-0310-b819-94efdf66514b> | 2004-10-08 06:41:32 +0000 |
commit | 1c42cee4af45eb143db9f8b1caa9d45f16ea13fc (patch) | |
tree | aaca1e0ebd94c2a68a28ab86c4e938d83a906fd0 /muggle-plugin/mugglei.c | |
parent | b504cd03caf1e82ea6c1a4795f5ee300c537928f (diff) | |
download | vdr-plugin-muggle-1c42cee4af45eb143db9f8b1caa9d45f16ea13fc.tar.gz vdr-plugin-muggle-1c42cee4af45eb143db9f8b1caa9d45f16ea13fc.tar.bz2 |
Added starting playlist at a certain index
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk@209 e10066b5-e1e2-0310-b819-94efdf66514b
Diffstat (limited to 'muggle-plugin/mugglei.c')
-rwxr-xr-x | muggle-plugin/mugglei.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/muggle-plugin/mugglei.c b/muggle-plugin/mugglei.c index 286ee89..33fa7bd 100755 --- a/muggle-plugin/mugglei.c +++ b/muggle-plugin/mugglei.c @@ -21,7 +21,7 @@ MYSQL *db; -std::string host, user, pass, dbname, socket; +std::string host, user, pass, dbname, sock; bool import_assorted; int init_database() @@ -35,10 +35,10 @@ int init_database() } // check for use of sockets - if( socket != "" ) + if( sock != "" ) { if( mysql_real_connect( db, NULL, user.c_str(), pass.c_str(), dbname.c_str(), - 0, socket.c_str(), 0 ) == NULL ) + 0, sock.c_str(), 0 ) == NULL ) { std::cout << "mysql_real_connect using sockets failed." << std::endl; @@ -316,7 +316,7 @@ int main( int argc, char *argv[] ) dbname = "GiantDisc"; user = ""; pass = ""; - socket = ""; + sock = ""; import_assorted = false; // parse command line options @@ -359,7 +359,7 @@ int main( int argc, char *argv[] ) } break; case 's': { - socket = optarg; + sock = optarg; } break; } } |