/[pgestraier]/trunk/pgest.c
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/pgest.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 72 by dpavlin, Mon Aug 7 22:44:21 2006 UTC revision 73 by dpavlin, Mon Aug 7 22:47:41 2006 UTC
# Line 724  void cond_add_attr(ESTCOND *cond, char * Line 724  void cond_add_attr(ESTCOND *cond, char *
724          char *next;          char *next;
725          char *curr_attr;          char *curr_attr;
726          while ( strlen(attr) > 0 ) {          while ( strlen(attr) > 0 ) {
727                  printf("len [%s] = %d\n", attr, strlen(attr));                  printf("len [%s] = %zd\n", attr, strlen(attr));
728                  if ((next = strstr(attr, ATTR_DELIMITER)) != NULL) {                  if ((next = strstr(attr, ATTR_DELIMITER)) != NULL) {
729                          curr_attr = palloc( next - attr + 1 );                          curr_attr = palloc( next - attr + 1 );
730                          memcpy(curr_attr, attr, next-attr);                          memcpy(curr_attr, attr, next-attr);

Legend:
Removed from v.72  
changed lines
  Added in v.73

  ViewVC Help
Powered by ViewVC 1.1.26