Changeset 554a2b8
- Timestamp:
- Dec 6, 2008, 2:33:28 AM (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:
- 6eaf35b
- Parents:
- 2aaca94
- git-author:
- Anders Kaseorg <andersk@mit.edu> (12/06/08 01:42:34)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (12/06/08 02:33:28)
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
aim.c
r3645317 r554a2b8 239 239 { 240 240 if (message) { 241 owl_function_error( message);241 owl_function_error("%s", message); 242 242 } else { 243 243 owl_function_error("Authentication error on login"); … … 1698 1698 1699 1699 /* printf("snac threw error (reason 0x%04x: %s)\n", reason, (reason<msgerrreasonslen)?msgerrreasons[reason]:"unknown"); */ 1700 if (reason<msgerrreasonslen) owl_function_error( msgerrreasons[reason]);1700 if (reason<msgerrreasonslen) owl_function_error("%s", msgerrreasons[reason]); 1701 1701 1702 1702 return 1; … … 1715 1715 1716 1716 /* printf("message to %s bounced (reason 0x%04x: %s)\n", destsn, reason, (reason<msgerrreasonslen)?msgerrreasons[reason]:"unknown"); */ 1717 if (reason<msgerrreasonslen) owl_function_error( msgerrreasons[reason]);1717 if (reason<msgerrreasonslen) owl_function_error("%s", msgerrreasons[reason]); 1718 1718 1719 1719 if (reason==4) { … … 1736 1736 1737 1737 /* printf("user information for %s unavailable (reason 0x%04x: %s)\n", destsn, reason, (reason<msgerrreasonslen)?msgerrreasons[reason]:"unknown"); */ 1738 if (reason<msgerrreasonslen) owl_function_error( msgerrreasons[reason]);1738 if (reason<msgerrreasonslen) owl_function_error("%s", msgerrreasons[reason]); 1739 1739 1740 1740 return 1; -
commands.c
r2209f16 r554a2b8 1047 1047 void owl_command_version() 1048 1048 { 1049 char buff[1024]; 1050 1051 sprintf(buff, "BarnOwl version %s", OWL_VERSION_STRING); 1052 owl_function_makemsg(buff); 1049 owl_function_makemsg("BarnOwl version %s", OWL_VERSION_STRING); 1053 1050 } 1054 1051 … … 1692 1689 } 1693 1690 1694 owl_function_debugmsg( argv[1]);1691 owl_function_debugmsg("%s", argv[1]); 1695 1692 return(NULL); 1696 1693 } … … 2583 2580 { 2584 2581 buff = skiptokens(buff, 1); 2585 owl_function_error( buff);2582 owl_function_error("%s", buff); 2586 2583 return NULL; 2587 2584 } … … 2590 2587 { 2591 2588 buff = skiptokens(buff, 1); 2592 owl_function_makemsg( buff);2589 owl_function_makemsg("%s", buff); 2593 2590 return NULL; 2594 2591 } -
regex.c
r8b7466b r554a2b8 13 13 { 14 14 int ret; 15 char buff1[LINE] , buff2[LINE];15 char buff1[LINE]; 16 16 char *ptr; 17 17 … … 29 29 if (ret) { 30 30 regerror(ret, NULL, buff1, LINE); 31 sprintf(buff2, "Error in regular expression: %s", buff1); 32 owl_function_makemsg(buff2); 31 owl_function_makemsg("Error in regular expression: %s", buff1); 33 32 owl_free(re->string); 34 33 re->string=NULL;
Note: See TracChangeset
for help on using the changeset viewer.