]> git.ipfire.org Git - thirdparty/HylaFAX.git/commitdiff
Bug 661 CallID integration needs some fixin'
authorAidan Van Dyk <aidan@ifax.com>
Mon, 20 Jun 2005 19:40:46 +0000 (19:40 +0000)
committerAidan Van Dyk <aidan@ifax.com>
Mon, 20 Jun 2005 19:40:46 +0000 (19:40 +0000)
  resize(0) == no elements
  resize(1) = ellement[0]

hfaxd/RecvQueue.c++

index b710d54c68d700cbb1b4a2030cadf1da19173877..aa970df5b36e3ce22c8d1950b957952c049bbac1 100644 (file)
@@ -160,7 +160,7 @@ HylaFAXServer::getRecvDocStatus(RecvInfo& ri)
        u_int i = 0;
        while (cp[0] == '\n') {
            cp++;
-           ri.callid.resize(i);
+           ri.callid.resize(i+1);
            while (cp[0] != '\0' && cp[0] != '\n') {
                ri.callid[i].append(cp[0]);
                cp++;