[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Ayttm-commits] CVS: ayttm/src util.c,1.24,1.25 util.h,1.13,1.14
From: |
Colin Leroy <address@hidden> |
Subject: |
[Ayttm-commits] CVS: ayttm/src util.c,1.24,1.25 util.h,1.13,1.14 |
Date: |
Fri, 24 Jan 2003 03:01:53 -0500 |
Update of /cvsroot/ayttm/ayttm/src
In directory subversions:/tmp/cvs-serv27446/src
Modified Files:
util.c util.h
Log Message:
cosmetics again
Index: util.c
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/util.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- util.c 24 Jan 2003 05:25:34 -0000 1.24
+++ util.c 24 Jan 2003 08:01:50 -0000 1.25
@@ -81,76 +81,68 @@
char * c;
struct hostent * hn;
int i;
- FILE * f;
- //system("getip.pl > myip");
- f = popen("netstat -nr", "r");
- if((int)f < 1)
- goto IP_TEST_2;
- while( fgets(buff, sizeof(buff), f) != NULL )
- {
- c = strtok( buff, " " );
[...1720 lines suppressed...]
@@ -1653,7 +1350,8 @@
mid->callback(ecd);
}
-void rename_contact( struct contact * c, char *newname) {
+void rename_contact( struct contact * c, char *newname)
+{
rename_nick_log(c->group->name, c->nick, c->group->name, newname);
strncpy(c->nick, newname, 254);
c->nick[254] = '\0';
@@ -1675,8 +1373,7 @@
GList * newlist = NULL;
node = groups;
- while(node)
- {
+ while(node) {
newlist=g_list_append(newlist, ((grouplist *)node->data)->name);
node=node->next;
}
Index: util.h
===================================================================
RCS file: /cvsroot/ayttm/ayttm/src/util.h,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- util.h 24 Jan 2003 05:25:34 -0000 1.13
+++ util.h 24 Jan 2003 08:01:50 -0000 1.14
@@ -101,7 +101,6 @@
struct contact * find_contact_in_group_by_nick( gchar * nick, grouplist *gl );
void refresh_service_contacts(gint type);
eb_account * find_account_by_handle( gchar * handle, gint type );
-eb_account * find_account_by_handle_normalized( gchar * handle, gint type );
eb_local_account * find_local_account_by_handle( gchar * handle, gint type );
void strip_html(gchar * text);
int remove_account( eb_account * a );
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Ayttm-commits] CVS: ayttm/src util.c,1.24,1.25 util.h,1.13,1.14,
Colin Leroy <address@hidden> <=
- Prev by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.191,1.192 configure.in,1.187,1.188
- Next by Date:
[Ayttm-commits] CVS: ayttm ChangeLog,1.192,1.193 configure.in,1.188,1.189
- Previous by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.191,1.192 configure.in,1.187,1.188
- Next by thread:
[Ayttm-commits] CVS: ayttm ChangeLog,1.192,1.193 configure.in,1.188,1.189
- Index(es):