replaces four spaces by tabs, where appropriate
This commit is contained in:
+2
-2
@@ -241,11 +241,11 @@ static char* create_tap(private_iface_t *this)
|
||||
if (ioctl(tap, TUNSETIFF, &ifr) < 0 ||
|
||||
ioctl(tap, TUNSETPERSIST, 1) < 0 ||
|
||||
ioctl(tap, TUNSETOWNER, 0))
|
||||
{
|
||||
{
|
||||
DBG1("creating new tap device failed: %m");
|
||||
close(tap);
|
||||
return NULL;
|
||||
}
|
||||
}
|
||||
close(tap);
|
||||
return strdup(ifr.ifr_name);
|
||||
}
|
||||
|
||||
+2
-2
@@ -173,7 +173,7 @@ static void quit()
|
||||
}
|
||||
}
|
||||
enumerator->destroy(enumerator);
|
||||
gtk_main_quit();
|
||||
gtk_main_quit();
|
||||
}
|
||||
|
||||
static void error_dialog(char *msg)
|
||||
@@ -492,7 +492,7 @@ int main(int argc, char *argv[])
|
||||
notebook = gtk_notebook_new();
|
||||
g_object_set(G_OBJECT(notebook), "homogeneous", TRUE, NULL);
|
||||
gtk_notebook_set_tab_pos(GTK_NOTEBOOK(notebook), GTK_POS_BOTTOM);
|
||||
gtk_container_add(GTK_CONTAINER(vbox), notebook);
|
||||
gtk_container_add(GTK_CONTAINER(vbox), notebook);
|
||||
|
||||
/* Dumm menu */
|
||||
menu = gtk_menu_new();
|
||||
|
||||
+6
-6
@@ -73,16 +73,16 @@ struct mconsole_reply {
|
||||
typedef struct mconsole_notify mconsole_notify;
|
||||
/** mconsole notify message */
|
||||
struct mconsole_notify {
|
||||
u_int32_t magic;
|
||||
u_int32_t version;
|
||||
enum {
|
||||
u_int32_t magic;
|
||||
u_int32_t version;
|
||||
enum {
|
||||
MCONSOLE_SOCKET,
|
||||
MCONSOLE_PANIC,
|
||||
MCONSOLE_HANG,
|
||||
MCONSOLE_USER_NOTIFY,
|
||||
} type;
|
||||
u_int32_t len;
|
||||
char data[MCONSOLE_MAX_DATA];
|
||||
} type;
|
||||
u_int32_t len;
|
||||
char data[MCONSOLE_MAX_DATA];
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user