@ -22,7 +22,7 @@ namespace pEp {
if (a.size() > 1) {
if (a[1] == "--help") {
cout << "usage: " << a[0] << " [--dir TESTDIR]" << endl;
cout << "usage: " << a[0] << " [--dir HOME]" << endl;
exit(0);
}
else if (a[1] == "--dir" && a.size() == 3) {
@ -24,9 +24,9 @@ PEP_STATUS notifyHandshake(pEp_identity *me, pEp_identity *partner, sync_handsha
return PEP_STATUS_OK;
int main()
int main(int argc, char **argv)
{
pEp::Test::setup();
pEp::Test::setup(argc, argv);
// Create new identity
pEpLog("updating or creating identity for me");
@ -31,8 +31,8 @@ public:
} o;
int main() {
int main(int argc, char **argv) {
@ -8,9 +8,9 @@
using namespace std;
using namespace pEp;
Test::setup();
Test::setup(argc, argv);
pEp_identity *alice = ::new_identity("alice@mail.com", nullptr, PEP_OWN_USERID, "Alice");
::myself(pEp::Adapter::session(), alice);
@ -21,9 +21,9 @@ extern "C" {
};
const char *str = "23";
char *bytes = NULL;