Changeset b9cb41b
- Timestamp:
- Dec 6, 2008, 11:25:33 PM (16 years ago)
- Branches:
- master, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 56d0189
- Parents:
- 49a8434
- git-author:
- Anders Kaseorg <andersk@mit.edu> (12/06/08 23:20:19)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (12/06/08 23:25:33)
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
functions.c
r49a8434 rb9cb41b 1642 1642 /* fix this */ 1643 1643 sprintf(buff, " Checkd Ath: %i\n", n->z_checked_auth); 1644 sprintf(buff , "%s Multi notc: %s\n", buff, n->z_multinotice);1645 sprintf(buff , "%s Num other : %i\n", buff, n->z_num_other_fields);1646 sprintf(buff , "%s Msg Len : %i\n", buff, n->z_message_len);1644 sprintf(buff + strlen(buff), " Multi notc: %s\n", n->z_multinotice); 1645 sprintf(buff + strlen(buff), " Num other : %i\n", n->z_num_other_fields); 1646 sprintf(buff + strlen(buff), " Msg Len : %i\n", n->z_message_len); 1647 1647 owl_fmtext_append_normal(&fm, buff); 1648 1648 … … 2589 2589 sprintf(argbuff, "class ^(un)*%s(\\.d)*$", tmpclass); 2590 2590 if (tmpinstance) { 2591 sprintf(argbuff , "%s and ( instance ^(un)*%s(\\.d)*$ )", argbuff, tmpinstance);2591 sprintf(argbuff + strlen(argbuff), " and ( instance ^(un)*%s(\\.d)*$ )", tmpinstance); 2592 2592 } 2593 2593 owl_free(tmpclass); … … 2999 2999 owl_text_tr(quoted, '\'', '.'); 3000 3000 owl_text_tr(quoted, '"', '.'); 3001 sprintf(buff , "%s ^(un)*%s(\\.d)*$", buff, quoted);3001 sprintf(buff + strlen(buff), " ^(un)*%s(\\.d)*$", quoted); 3002 3002 owl_free(quoted); 3003 3003 } … … 3009 3009 owl_text_tr(quoted, '\'', '.'); 3010 3010 owl_text_tr(quoted, '"', '.'); 3011 sprintf(buff , "%s and instance ^(un)*%s(\\.d)*$", buff, quoted);3011 sprintf(buff + strlen(buff), " and instance ^(un)*%s(\\.d)*$", quoted); 3012 3012 owl_free(quoted); 3013 3013 } … … 3017 3017 owl_text_tr(quoted, '\'', '.'); 3018 3018 owl_text_tr(quoted, '"', '.'); 3019 sprintf(buff , "%s and recipient ^%s$", buff, quoted);3019 sprintf(buff + strlen(buff), " and recipient ^%s$", quoted); 3020 3020 owl_free(quoted); 3021 3021 } -
global.c
rb7bb454 rb9cb41b 568 568 strcpy(g->startupargs, ""); 569 569 for (i=0; i<argc; i++) { 570 sprintf(g->startupargs , "%s%s ", g->startupargs, argv[i]);570 sprintf(g->startupargs + strlen(g->startupargs), "%s ", argv[i]); 571 571 } 572 572 g->startupargs[strlen(g->startupargs)-1]='\0'; -
zcrypt.c
r34509d5 rb9cb41b 375 375 376 376 for (i = 0; i < 8; i++) { 377 sprintf(out , "%s%c", out, ((output[i] & 0xf0) >> 4) + BASE_CODE);378 sprintf(out , "%s%c", out, (output[i] & 0x0f) + BASE_CODE);377 sprintf(out + strlen(out), "%c", ((output[i] & 0xf0) >> 4) + BASE_CODE); 378 sprintf(out + strlen(out), "%c", (output[i] & 0x0f) + BASE_CODE); 379 379 } 380 380 -
zephyr.c
r451db9e rb9cb41b 814 814 ZGetLocations(&locations,&one); 815 815 myuser=short_zuser(user); 816 sprintf(out , "%s%s: %s\t%s\t%s\n", out, myuser,816 sprintf(out + strlen(out), "%s: %s\t%s\t%s\n", myuser, 817 817 locations.host ? locations.host : "?", 818 818 locations.tty ? locations.tty : "?", -
zwrite.c
r3f3ee61 rb9cb41b 231 231 for (i=0; i<j; i++) { 232 232 if (strcmp(z->realm, "")) { 233 sprintf(toline , "%s%s@%s ", toline, (char *) owl_list_get_element(&(z->recips), i), z->realm);233 sprintf(toline + strlen(toline), "%s@%s ", (char *) owl_list_get_element(&(z->recips), i), z->realm); 234 234 } else { 235 sprintf(toline , "%s%s ", toline, (char *) owl_list_get_element(&(z->recips), i));235 sprintf(toline + strlen(toline), "%s ", (char *) owl_list_get_element(&(z->recips), i)); 236 236 } 237 237 }
Note: See TracChangeset
for help on using the changeset viewer.