Changeset 7c8060d0
- Timestamp:
- Feb 21, 2003, 1:14:00 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:
- 316962a
- Parents:
- 9501423
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
ChangeLog
r9501423 r7c8060d0 28 28 command 29 29 Made M-n work on classes and instances with spaces in them 30 Zaway now obeys the smart strip variable 30 31 31 32 -
functions.c
red2412d r7c8060d0 1649 1649 if (owl_global_is_smartstrip(&g)) { 1650 1650 tmp2=tmp; 1651 tmp= smartstripped_user(tmp2);1651 tmp=owl_util_smartstripped_user(tmp2); 1652 1652 owl_free(tmp2); 1653 1653 } -
util.c
red2412d r7c8060d0 425 425 426 426 427 char * smartstripped_user(char *in) {427 char *owl_util_smartstripped_user(char *in) { 428 428 /* strip out the instance from a zsender's principal. Preserves the 429 429 * realm if present. daemon.webzephyr is a special case. The -
zephyr.c
r7933748 r7c8060d0 331 331 332 332 void owl_zephyr_zaway(owl_message *m) { 333 char *tmpbuff, *myuser ;333 char *tmpbuff, *myuser, *to; 334 334 335 335 /* bail if it doesn't look like a message we should reply to. Some … … 343 343 if (!strcasecmp(owl_message_get_sender(m), ZGetSender())) return; 344 344 345 if (owl_global_is_smartstrip(&g)) { 346 to=owl_util_smartstripped_user(owl_message_get_sender(m)); 347 } else { 348 to=owl_strdup(owl_message_get_sender(m)); 349 } 350 345 351 send_zephyr("", 346 352 "Automated reply:", 347 353 owl_message_get_class(m), 348 354 owl_message_get_instance(m), 349 owl_message_get_sender(m),355 to, 350 356 owl_global_get_zaway_msg(&g)); 351 357 352 myuser=short_zuser( owl_message_get_sender(m));358 myuser=short_zuser(to); 353 359 if (!strcasecmp(owl_message_get_instance(m), "personal")) { 354 360 tmpbuff = owl_sprintf("zwrite %s", myuser); … … 357 363 } 358 364 owl_free(myuser); 365 owl_free(to); 359 366 360 367 /* display the message as an admin message in the receive window */
Note: See TracChangeset
for help on using the changeset viewer.