You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spamassassin.apache.org by pa...@apache.org on 2005/05/22 20:22:52 UTC

svn commit: r171354 - in /spamassassin/trunk/spamc: libspamc.c libspamc.h spamc.c

Author: parker
Date: Sun May 22 11:22:51 2005
New Revision: 171354

URL: http://svn.apache.org/viewcvs?rev=171354&view=rev
Log:
Bug 4351: Use unsigned int instead of uint

Modified:
    spamassassin/trunk/spamc/libspamc.c
    spamassassin/trunk/spamc/libspamc.h
    spamassassin/trunk/spamc/spamc.c

Modified: spamassassin/trunk/spamc/libspamc.c
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/spamc/libspamc.c?rev=171354&r1=171353&r2=171354&view=diff
==============================================================================
--- spamassassin/trunk/spamc/libspamc.c (original)
+++ spamassassin/trunk/spamc/libspamc.c Sun May 22 11:22:51 2005
@@ -1111,7 +1111,7 @@
 
 int message_tell(struct transport *tp, const char *username, int flags,
 		 struct message *m, int msg_class,
-		 uint tellflags, uint *didtellflags)
+		 unsigned int tellflags, unsigned int *didtellflags)
 {
     char buf[8192];
     size_t bufsiz = (sizeof(buf) / sizeof(*buf)) - 4; /* bit of breathing room */

Modified: spamassassin/trunk/spamc/libspamc.h
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/spamc/libspamc.h?rev=171354&r1=171353&r2=171354&view=diff
==============================================================================
--- spamassassin/trunk/spamc/libspamc.h (original)
+++ spamassassin/trunk/spamc/libspamc.h Sun May 22 11:22:51 2005
@@ -231,7 +231,7 @@
  */
 int message_tell(struct transport *tp, const char *username, int flags,
 		 struct message *m, int msg_class,
-		 uint tellflags, uint *didtellflags);
+		 unsigned int tellflags, unsigned int *didtellflags);
 
 /* Dump the message. If there is any data in the message (typically, m->type
  * will be MESSAGE_ERROR) it will be message_writed. Then, fd_in will be piped

Modified: spamassassin/trunk/spamc/spamc.c
URL: http://svn.apache.org/viewcvs/spamassassin/trunk/spamc/spamc.c?rev=171354&r1=171353&r2=171354&view=diff
==============================================================================
--- spamassassin/trunk/spamc/spamc.c (original)
+++ spamassassin/trunk/spamc/spamc.c Sun May 22 11:22:51 2005
@@ -690,8 +690,8 @@
 
  	    if (flags & SPAMC_LEARN) {
 	      int msg_class = 0;
-	      uint tellflags = 0;
-	      uint didtellflags = 0;
+	      unsigned int tellflags = 0;
+	      unsigned int didtellflags = 0;
 
 	      if ((extratype == 0) || (extratype == 1)) {
 		if (extratype == 0) {
@@ -724,8 +724,8 @@
 	    }
  	    else if (flags & SPAMC_REPORT_MSG) {
 	      int msg_class = 0;
-	      uint tellflags = 0;
-	      uint didtellflags = 0;
+	      unsigned int tellflags = 0;
+	      unsigned int didtellflags = 0;
 
 	      if (extratype == 0) {
 		msg_class = SPAMC_MESSAGE_CLASS_SPAM;