im.pidgin.pidgin: d25af79abd2f50e0aba4985544f0ca976d0e7788

rlaager at pidgin.im rlaager at pidgin.im
Wed Jan 16 17:30:47 EST 2008


-----------------------------------------------------------------
Revision: d25af79abd2f50e0aba4985544f0ca976d0e7788
Ancestor: db2fbab5f680fc12e8073b1127b3ff14fb703637
Author: rlaager at pidgin.im
Date: 2008-01-16T22:26:59
Branch: im.pidgin.pidgin

Modified files:
        finch/libgnt/gntmain.c

ChangeLog: 

(13:48:49) Stu Tomlinson (nosnilmot): rlaager: printf() should probably
                                               still use strerror()

-------------- next part --------------
============================================================
--- finch/libgnt/gntmain.c	a868ee689a1ad57abea4afaaccd6fa6131e498eb
+++ finch/libgnt/gntmain.c	458de173984ff771ca86afc56b8a6da0230cbe82
@@ -233,7 +233,7 @@ io_invoke(GIOChannel *source, GIOConditi
 	{
 		int ch = getch(); /* This should return ERR, but let's see what it really returns */
 		endwin();
-		printf("ERROR: %s\n", g_strerror(errno));
+		printf("ERROR: %s\n", strerror(errno));
 		printf("File descriptor is: %d\n\nGIOChannel is: %p\ngetch() = %d\n", STDIN_FILENO, source, ch);
 		raise(SIGABRT);
 	}


More information about the Commits mailing list