1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-22 15:58:50 -05:00

code beautifying

This commit is contained in:
Aurelien Foret 2005-04-20 20:50:17 +00:00
parent 2a3968b8bc
commit 447885fdc3

View File

@ -485,9 +485,9 @@ void *alpm_sync_getinfo(pmsyncpkg_t *sync, unsigned char parm)
ASSERT(sync != NULL, return(NULL)); ASSERT(sync != NULL, return(NULL));
switch(parm) { switch(parm) {
case PM_SYNC_TYPE: data = (void *)(int)sync->type; break; case PM_SYNC_TYPE: data = (void *)(int)sync->type; break;
case PM_SYNC_PKG: data = sync->pkg; break; case PM_SYNC_PKG: data = sync->pkg; break;
case PM_SYNC_DATA: data = sync->data; break; case PM_SYNC_DATA: data = sync->data; break;
default: default:
data = NULL; data = NULL;
break; break;