[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/modules/aim-toc/libtoc libtoc.c,1.17,1.18 li
From: |
Colin Leroy <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/modules/aim-toc/libtoc libtoc.c,1.17,1.18 libtoc.h,1.7,1.8 |
Date: |
Sat, 29 Mar 2003 07:27:52 -0500 |
Update of /cvsroot/ayttm/ayttm/modules/aim-toc/libtoc
In directory subversions:/tmp/cvs-serv21276/modules/aim-toc/libtoc
Modified Files:
libtoc.c libtoc.h
Log Message:
-Wall cleans
Index: libtoc.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/aim-toc/libtoc/libtoc.c,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- libtoc.c 28 Mar 2003 15:09:00 -0000 1.17
+++ libtoc.c 29 Mar 2003 12:27:50 -0000 1.18
@@ -596,7 +596,7 @@
fh->total_num_parts_left = htons(1);
if(DEBUG) {
- fprintf(stderr, "total_num_parts = %04x total_num_parts_left =
%04x file_size = %ld\n",
+ fprintf(stderr, "total_num_parts = %04x total_num_parts_left =
%04x file_size = %lu\n",
fh->total_num_parts, fh->total_num_parts_left,
ntohl(*((long*)(buff+22))));
}
@@ -1476,7 +1476,7 @@
send_flap(conn, DATA, buff);
}
-void toc_add_group(toc_conn *conn, char *group)
+void toc_add_group(toc_conn *conn, const char *group)
{
char buff[2048];
@@ -1484,7 +1484,7 @@
send_flap(conn, DATA, buff);
}
-void toc_remove_group(toc_conn *conn, char *group)
+void toc_remove_group(toc_conn *conn, const char *group)
{
char buff[2048];
Index: libtoc.h
===================================================================
RCS file: /cvsroot/ayttm/ayttm/modules/aim-toc/libtoc/libtoc.h,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- libtoc.h 25 Mar 2003 15:04:07 -0000 1.7
+++ libtoc.h 29 Mar 2003 12:27:50 -0000 1.8
@@ -89,8 +89,8 @@
void toc_talk_accept( toc_conn * conn, char * nick, char * ip, short port,
char * cookie );
void toc_remove_buddy( toc_conn * conn, char * user, char * group );
-void toc_add_group(toc_conn *conn, char *group);
-void toc_remove_group(toc_conn *conn, char *group);
+void toc_add_group(toc_conn *conn, const char *group);
+void toc_remove_group(toc_conn *conn, const char *group);
#endif
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/modules/aim-toc/libtoc libtoc.c,1.17,1.18 libtoc.h,1.7,1.8,
Colin Leroy <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.464,1.465 configure.in,1.460,1.461 makeebdll,1.4,1.5
- Next by Date:
[Ayttm-commits] CVS: ayttm/modules/workwizu workwizu.c,1.35,1.36
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.464,1.465 configure.in,1.460,1.461 makeebdll,1.4,1.5
- Next by thread:
[Ayttm-commits] CVS: ayttm/modules/workwizu workwizu.c,1.35,1.36
- Index(es):