Changeset 995eb4b for functions.c
- Timestamp:
- Oct 26, 2003, 4:24:23 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:
- d63690b
- Parents:
- bc08664
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
rbc08664 r995eb4b 2394 2394 /* downcase it */ 2395 2395 downstr(filtname); 2396 /* turn spaces into hyphens */2396 /* turn spaces into dots */ 2397 2397 owl_text_tr(filtname, ' ', '.'); 2398 2398 … … 2404 2404 /* create the new filter */ 2405 2405 argbuff=owl_malloc(len+20); 2406 tmpclass=owl_strdup(class); 2407 owl_text_tr(tmpclass, ' ', '.'); 2406 tmpclass=owl_text_quote(class, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 2408 2407 if (instance) { 2409 tmpinstance=owl_strdup(instance); 2410 owl_text_tr(tmpinstance, ' ', '.'); 2408 tmpinstance=owl_text_quote(instance, OWL_REGEX_QUOTECHARS, OWL_REGEX_QUOTEWITH); 2411 2409 } 2412 2410 sprintf(argbuff, "( class ^%s$ )", tmpclass); … … 2594 2592 if (owl_message_is_type_admin(m)) { 2595 2593 return(owl_function_typefilt("admin")); 2594 } 2595 2596 /* very simple handling of loopback messages for now */ 2597 if (owl_message_is_type_loopback(m)) { 2598 return(owl_function_typefilt("loopback")); 2596 2599 } 2597 2600
Note: See TracChangeset
for help on using the changeset viewer.