Changeset 2b23a36a


Ignore:
Timestamp:
Mar 29, 2009, 3:25:04 PM (12 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
owl
Children:
19c0c55
Parents:
8e1657c
Message:
sprintf -> owlsprintf in owl_function_buddylist
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r8e1657c r2b23a36a  
    32203220        if (ret==0) {
    32213221          for (x=0; x<numlocs; x++) {
    3222             line=malloc(strlen(location[x].host)+strlen(location[x].time)+strlen(location[x].tty)+100);
    32233222            tmp=short_zuser(user);
    3224             sprintf(line, "  %-10.10s %-24.24s %-12.12s  %20.20s\n",
    3225                     tmp,
    3226                     location[x].host,
    3227                     location[x].tty,
    3228                     location[x].time);
     3223            line=owl_sprintf("  %-10.10s %-24.24s %-12.12s  %20.20s\n",
     3224                             tmp,
     3225                             location[x].host,
     3226                             location[x].tty,
     3227                             location[x].time);
    32293228            owl_fmtext_append_normal(&fm, line);
    32303229            owl_free(tmp);
Note: See TracChangeset for help on using the changeset viewer.