Browse Source

Forgot to set a header field

Ian Goldberg 5 years ago
parent
commit
5035a1104b
1 changed files with 1 additions and 0 deletions
  1. 1 0
      pirclient.cc

+ 1 - 0
pirclient.cc

@@ -97,6 +97,7 @@ PIRClient::mainloop()
                 memmove(&queryid, body, sizeof(queryid));
                 string pirresponse(body+8, bodylen-8);
                 string plainresponse;
+                header[8] = PIRCLIENT_RESPONSE_EXTRACT;
                 if (extract(queryid, pirresponse, plainresponse)) {
                     response_len = plainresponse.length();
                 } else {