listing Evolution databases showed calendars twice instead of task lists

git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@172 15ad00c4-1369-45f4-8270-35d70d36bdcd
This commit is contained in:
Patrick Ohly 2006-06-27 16:26:28 +00:00
parent 6602973f02
commit 73ee2e0018
1 changed files with 2 additions and 2 deletions

View File

@ -41,7 +41,7 @@ static void listSources( EvolutionSyncSource &syncSource, const string &header )
for( EvolutionSyncSource::sources::const_iterator it = sources.begin();
it != sources.end();
it++ ) {
cout << it->m_name << ": " << it->m_uri << "\n";
cout << it->m_name << " (" << it->m_uri << ")\n";
}
}
@ -81,7 +81,7 @@ int main( int argc, char **argv )
EvolutionCalendarSource todoSource(E_CAL_SOURCE_TYPE_TODO,
string("list"));
listSources(eventSource, "tasks");
listSources(todoSource, "tasks");
fprintf( stderr, "\nusage: %s <server>\n", argv[0] );
} else {