diff options
-rw-r--r-- | src/test/test_pt.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/test/test_pt.c b/src/test/test_pt.c index 9d6aa09f0..201f78ea5 100644 --- a/src/test/test_pt.c +++ b/src/test/test_pt.c @@ -94,6 +94,8 @@ test_pt_protocol(void) managed_proxy_t *mp = tor_malloc_zero(sizeof(managed_proxy_t)); mp->conf_state = PT_PROTO_LAUNCHED; mp->transports = smartlist_new(); + mp->argv = tor_malloc_zero(sizeof(char*)*2); + mp->argv[0] = tor_strdup("<testcase>"); /* various wrong protocol runs: */ |