Changeset cee1f25 for functions.c
- Timestamp:
- Oct 28, 2003, 10:30:47 PM (21 years ago)
- Branches:
- master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- c7041b3
- Parents:
- 12c35df
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r12c35df rcee1f25 2675 2675 } 2676 2676 2677 mclass = owl_ text_quote(owl_message_get_class(m), OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH);2678 minst = owl_ text_quote(owl_message_get_instance(m), OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH);2677 mclass = owl_message_get_class(m); 2678 minst = owl_message_get_instance(m); 2679 2679 if (!mclass || !*mclass || *mclass==' ' 2680 2680 || (!strcasecmp(mclass, "message") && !strcasecmp(minst, "personal")) … … 2684 2684 } else { 2685 2685 cmdprefix = "start-command zpunt "; 2686 cmd = owl_malloc(strlen(cmdprefix)+strlen(mclass)+strlen(minst)+ 3);2686 cmd = owl_malloc(strlen(cmdprefix)+strlen(mclass)+strlen(minst)+10); 2687 2687 strcpy(cmd, cmdprefix); 2688 strcat(cmd, owl_getquoting(mclass)); 2688 2689 strcat(cmd, mclass); 2690 strcat(cmd, owl_getquoting(mclass)); 2689 2691 if (type) { 2690 2692 strcat(cmd, " "); 2693 strcat(cmd, owl_getquoting(minst)); 2691 2694 strcat(cmd, minst); 2695 strcat(cmd, owl_getquoting(minst)); 2692 2696 } else { 2693 2697 strcat(cmd, " *"); … … 2696 2700 owl_free(cmd); 2697 2701 } 2698 owl_free(mclass);2699 owl_free(minst);2700 2702 } 2701 2703 … … 2768 2770 } else { 2769 2771 quoted=owl_text_quote(class, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 2772 owl_text_tr(quoted, ' ', '.'); 2770 2773 sprintf(buff, "%s ^%s$", buff, quoted); 2771 2774 owl_free(quoted); … … 2775 2778 } else { 2776 2779 quoted=owl_text_quote(inst, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 2780 owl_text_tr(quoted, ' ', '.'); 2777 2781 sprintf(buff, "%s and instance ^%s$", buff, quoted); 2778 2782 owl_free(quoted); … … 2780 2784 if (strcmp(recip, "*")) { 2781 2785 quoted=owl_text_quote(recip, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 2786 owl_text_tr(quoted, ' ', '.'); 2782 2787 sprintf(buff, "%s and recipient ^%s$", buff, quoted); 2783 2788 owl_free(quoted);
Note: See TracChangeset
for help on using the changeset viewer.