Changeset eb8d9c1


Ignore:
Timestamp:
Feb 23, 2011, 5:07:49 PM (10 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.8, release-1.9
Children:
bb85767
Parents:
1137802
git-author:
David Benjamin <davidben@mit.edu> (02/20/11 15:11:03)
git-committer:
David Benjamin <davidben@mit.edu> (02/23/11 17:07:49)
Message:
Correctly quote reply messages in owl_zephyr_zaway

Oh, I'll just go and send an automated away message to my good friend,
'-c sipb'. It's not that big of a deal since we only make outgoing
messages out of this though.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zephyr.c

    r8a97586 reb8d9c1  
    882882  myuser=short_zuser(to);
    883883  if (!strcasecmp(owl_message_get_instance(m), "personal")) {
    884     tmpbuff = g_strdup_printf("zwrite %s", myuser);
     884    tmpbuff = owl_string_build_quoted("zwrite %q", myuser);
    885885  } else {
    886     tmpbuff = g_strdup_printf("zwrite -i %s %s", owl_message_get_instance(m), myuser);
     886    tmpbuff = owl_string_build_quoted("zwrite -i %q %q", owl_message_get_instance(m), myuser);
    887887  }
    888888  g_free(myuser);
Note: See TracChangeset for help on using the changeset viewer.