IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 16214


Ignore:
Timestamp:
Jan 23, 2008, 2:25:29 PM (18 years ago)
Author:
eugene
Message:

fixed error with opihi_append call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/cmd.basic/strsub.c

    r16168 r16214  
    4242  while (*p && ((q = strstr (p, key)) != NULL)) {
    4343    output = opihi_append (output, &Noutput, p, q);
    44     output = opihi_append (output, &Noutput, value, strlen(value));
     44    output = opihi_append (output, &Noutput, value, value + strlen(value));
    4545    p = q + Nkey;
    4646  }
    4747  if (*p) {
    48     output = opihi_append (output, &Noutput, p, strlen(p));
     48    output = opihi_append (output, &Noutput, p, p + strlen(p));
    4949  }
    5050 
Note: See TracChangeset for help on using the changeset viewer.