Update getwork.c