some cleanups.

This commit is contained in:
Enno Boland (Gottox) 2009-06-08 16:49:56 +02:00
parent 25155222c8
commit d3d9c9b714
1 changed files with 2 additions and 2 deletions

4
surf.c
View File

@ -95,7 +95,8 @@ destroywin(GtkWidget* w, gpointer d) {
destroyclient(c);
}
void die(char *str) {
void
die(char *str) {
fputs(str, stderr);
exit(EXIT_FAILURE);
}
@ -270,7 +271,6 @@ loadcommit(WebKitWebView *view, WebKitWebFrame *f, gpointer d) {
void
loadstart(WebKitWebView *view, WebKitWebFrame *f, gpointer d) {
Client *c = (Client *)d;
gchar *uri;
if(c->download)
stop(c);